Skip to content

Instantly share code, notes, and snippets.

Created November 4, 2013 04:21
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save anonymous/7298036 to your computer and use it in GitHub Desktop.
perf report -g output
# Samples: 3 of event 'probe_postgres:XLogFileInit'
# Event count (approx.): 3
#
# Overhead Command Shared Object Symbol
# ........ ........ ............. ................
#
100.00% postgres postgres [.] XLogFileInit
|
--- XLogFileInit
XLogWrite
|
|--66.67%-- XLogBackgroundFlush
| WalWriterMain
| AuxiliaryProcessMain
| StartChildProcess
| reaper
| __restore_rt
| __select
| ServerLoop
| PostmasterMain
| main
| __libc_start_main
| _start
| 0x0
|
--33.33%-- XLogFlush
FlushBuffer
SyncOneBuffer
CheckPointBuffers
CreateCheckPoint
CheckpointerMain
AuxiliaryProcessMain
StartChildProcess
reaper
__restore_rt
__select
ServerLoop
PostmasterMain
main
__libc_start_main
_start
0x0
# Samples: 0 of event 'probe_postgres:XLogFileOpen'
# Event count (approx.): 0
#
# Overhead Command Shared Object Symbol
# ........ ....... ............. ......
#
# Samples: 2K of event 'probe_postgres:XLogFlush'
# Event count (approx.): 2592
#
# Overhead Command Shared Object Symbol
# ........ ........ ............. .............
#
100.00% postgres postgres [.] XLogFlush
|
--- XLogFlush
|
|--99.96%-- FlushBuffer
| SyncOneBuffer
| |
| |--74.37%-- BgBufferSync
| | BackgroundWriterMain
| | AuxiliaryProcessMain
| | StartChildProcess
| | reaper
| | __restore_rt
| | __select
| | ServerLoop
| | PostmasterMain
| | main
| | __libc_start_main
| | _start
| | 0x0
| |
| --25.63%-- CheckPointBuffers
| CreateCheckPoint
| CheckpointerMain
| AuxiliaryProcessMain
| StartChildProcess
| reaper
| __restore_rt
| __select
| ServerLoop
| PostmasterMain
| main
| __libc_start_main
| _start
| 0x0
--0.04%-- [...]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment