KernelProfiling
From Linux PARISC Wiki
Revision as of 21:00, 30 May 2014 by Thibaut Varene (Talk | contribs)
Using readprofile
- Compile your kernel with CONFIG_PROFILING=y
- boot your kernel with profile=2 on the palo command line
- as root:
-
readprofile -r
# clears the profile counters - run your test
-
readprofile -m /path/to/System.map -d /path/to/vmlinux > /tmp/profile.txt
-
- you might want to sort the results using "sort -nr +2"
Using oprofile
- Compile your kernel with CONFIG_OPROFILE=y (or as a module)
- (to be written)