Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
OProfile
Edit
PageHistory
Diff
Info
LikePages
You are viewing an old revision of this page.
View the current version
.
[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. The home page for this project is at http://oprofile.sourceforge.net/ Steps to use [OProfile]: (To be completed as IanMcDonald documents and gets it working) * Install [OProfile] * Build LinuxKernel with profiling support (Under Instrumentation Support for kernel when building) * Install kernel including vmlinux (not just vmlinuz). See script on KernelDevelopment * Reset stats if needed with <tt>sudo opcontrol --reset</tt> (Stats get carried over after reboots) * Start with <tt>sudo opcontrol --start --vmlinux=/boot/vmlinux-myname</tt> (where myname is whatever you've called vmlinux) * Run your task * Stop with <tt>sudo opcontrol --stop</tt> * Run the report somehow (still trying to work out)
One page links to
OProfile
:
KernelDevelopment