Skip to content

Instantly share code, notes, and snippets.

/gist:7298036

Created Nov 4, 2013
Embed
What would you like to do?
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
You can’t perform that action at this time.