Last active
August 29, 2015 14:19
-
-
Save pcn/6dc67334831c7a409350 to your computer and use it in GitHub Desktop.
Not getting much in the way of linux perf data...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| spacey@spacey-vm:~$ sudo perf record -F 99 -p 1531 -g -- sleep 5 | |
| [ perf record: Woken up 1 times to write data ] | |
| [ perf record: Captured and wrote 0.156 MB perf.data (~6825 samples) ] | |
| spacey@spacey-vm:~$ sudo perf report -n perf.data --stdio | |
| Failed to open /tmp/perf-1531.map, continuing without symbols | |
| # To display the perf.data header info, please use --header/--header-only option | |
| # | |
| # Samples: 58 of event 'cpu-clock' | |
| # Event count (approx.): 585858580 | |
| # | |
| # Children Self Samples Command Shared Object Symbol | |
| # ........ ........ ............ ....... ............. ...... | |
| # | |
| spacey@spacey-vm:~$ ls -1rt | tail -1 | |
| perf.data | |
| spacey@spacey-vm:~$ ps -ef | grep 1531 | |
| spacey 1531 1304 14 09:21 ? 00:10:32 compiz | |
| spacey 6232 1875 0 10:35 pts/1 00:00:00 grep --color=auto 1531 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment