Trouble convincing OProfile to use my "vmlinux"
2006-06-07 18:59:39 GMT
I am trying to profile the kernel but can't seem to convince OProfile
to use my "vmlinux" image. I am doing this:
% uname -a
Linux schmidt 2.6.15 #1 Wed Jun 7 12:09:02 EDT 2006 i686 GNU/Linux
% sudo opcontrol --init
% sudo opcontrol --reset
% sudo opcontrol --vmlinux=/boot/vmlinux-`uname -r`
% sudo opcontrol --status
Daemon running: pid 10399
Separate options: none
vmlinux file: /boot/vmlinux-2.6.15
Image filter: none
Call-graph depth: 0
% ls -l /boot/vmlinux-2.6.15
-rw-r--r-- 1 root root 3103965 2006-06-07 13:52 /boot/vmlinux-2.6.15
% sudo opcontrol --start ; time cat `for (( i=0; $i < 256; i++ )); do echo ../../tmp/XO-TOOLS.tar.gz ; done` >
/dev/null ; sudo opcontrol --stop
Profiler running.
real 0m1.775s
user 0m0.121s
sys 0m1.594s
Stopping profiling.
% opreport
CPU: Pentium M (P6 core), speed 1196.28 MHz (estimated)
Counted CPU_CLK_UNHALTED events (clocks processor is not halted, and not in a thermal trip) with a unit
mask of 0x00 (No unit mask) count 100000
CPU_CLK_UNHALT...|
samples| %|
(Continue reading)
RSS Feed