This shows you the differences between two versions of the page.

Link to this comparison view

user:jenda:perf [2018/05/02 12:37] (current)
jenda created
Line 1: Line 1:
 +====== perf on low-end hardware ======
 +If perf binary is not available:
 +  * copy the tools/ directory of the current running kernel tree
 +  * apt-get install flex bison libc-dev libc-dev libelf-dev libslang2-dev libunwind-dev binutils-dev libiberty-dev
 +  * make -C tools/perf/
 +If hardware performance counters are not available:
 +# ./​linux/​tools/​perf/​perf record -a factor 2365873330313
 +PMU Hardware doesn'​t support sampling/​overflow-interrupts.
 +Then use software cpu-clock event instead:
 +# /​root/​linux/​tools/​perf/​perf record -e cpu-clock -a factor 2365873330313
 +2365873330313:​ 4567 518036639
 +[ perf record: Woken up 1 times to write data ]
 +[ perf record: Captured and wrote 0.119 MB perf.data (152 samples) ]
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 4.0 International
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki