1 Feb 2008 03:40
Can't get any significant number of vmlinux samples to show up.
Ben Greear <greearb <at> candelatech.com>
2008-02-01 02:40:12 GMT
2008-02-01 02:40:12 GMT
I tried using oprofile 0.9.3 on Fedora 8, using a freshly compiled
2.6.24 kernel.
First, it seems that oprof_start (or something) misconfigured
the --kernel-range. I changed that to what I believe is more proper
values by setting the start to 1000000 and the end to the last symbol
found in the /boot/System.map file. This appeared to make oprofile
report lots of samples, except that it can't list them explicitly.
First, the PS listing:
root 18970 0.7 0.4 18768 9264 pts/0 S 18:29 0:00 oprof_start
root 19313 0.8 0.0 3384 1784 ? S 18:30 0:00 /usr/bin/oprofiled --session-dir=/var/lib/oprofile
--separate-lib=1 --separate-kernel=1 --separate-thread=0 --separate-cpu=0
--events=GLOBAL_POWER_EVENTS:29:0:100000:1:1:1, --vmlinux=/boot/vmlinux-2.6.24 --kernel-range=1000000,c143f000
[root <at> lf1002-155 ~]# opreport
CPU: P4 / Xeon with 2 hyper-threads, speed 3000.36 MHz (estimated)
Counted GLOBAL_POWER_EVENTS events (time during which processor is not stopped) with a unit mask of 0x01
(mandatory) count 100000
GLOBAL_POWER_E...|
samples| %|
------------------
2056094 86.0331 btserver
GLOBAL_POWER_E...|
samples| %|
------------------
1580191 76.8540 vmlinux-2.6.24
330083 16.0539 btserver
106325 5.1712 e1000
(Continue reading)
RSS Feed