Donnie Berkholz wrote: > To get oprofile going, build the kernel module (it's included in the > main kernel, just enable it -- CONFIG_PROFILING in Instrumentation), run > `make vmlinux` in /usr/src/linux, emerge oprofile, then run this little > script like this: > ./oprof someapp > > It will start profiling, and stop when you quit that app. Make sure you > run it long enough so that the app's startup stuff isn't the primary > thing you profile; you want to profile the runtime slowdowns. One more note, oprofile will profile _everything_ your computer is doing, so make sure you are doing as little as possible that you don't want to end up in the results. Thanks, Donnie