Penguin
Annotated edit history of OProfile version 3, including all changes. View license author blame.
Rev Author # Line
1 IanMcDonald 1 [OProfile] is a [Profiling] tool which is particularly useful for looking at all programs on a Linux system including the [LinuxKernel] if you are doing KernelDevelopment.
2
3 The home page for this project is at http://oprofile.sourceforge.net/
4
2 IanMcDonald 5 Steps to use [OProfile]: (To be completed as IanMcDonald documents and gets it working)
6 * Install [OProfile]
7 * Build LinuxKernel with profiling support (Under Instrumentation Support for kernel when building)
8 * Install kernel including vmlinux (not just vmlinuz). See script on KernelDevelopment
9 * Reset stats if needed with <tt>sudo opcontrol --reset</tt> (Stats get carried over after reboots)
10 * Start with <tt>sudo opcontrol --start --vmlinux=/boot/vmlinux-myname</tt> (where myname is whatever you've called vmlinux)
11 * Run your task
12 * Stop with <tt>sudo opcontrol --stop</tt>
3 IanMcDonald 13 * Use <tt>opreport</tt> command to run reports (see man page for details)