2.6.19-rc* and oprofile issues

From: Prakash Punnoor
Date: Fri Oct 27 2006 - 00:23:34 EST


Hi,

I can't seem to get oprofile (0.9.2) working with current rc kernels an my
AMD64 platform. All works out of the box with 2.6.18 and earlier.

LC_ALL=C opcontrol -s
/usr/bin/opcontrol: line 994: /dev/oprofile/0/enabled: No such file or
directory
/usr/bin/opcontrol: line 994: /dev/oprofile/0/event: No such file or directory
/usr/bin/opcontrol: line 994: /dev/oprofile/0/count: No such file or directory
/usr/bin/opcontrol: line 994: /dev/oprofile/0/kernel: No such file or
directory
/usr/bin/opcontrol: line 994: /dev/oprofile/0/user: No such file or directory
/usr/bin/opcontrol: line 994: /dev/oprofile/0/unit_mask: No such file or
directory
Using 2.6+ OProfile kernel interface.
Using log file /var/lib/oprofile/oprofiled.log
Daemon started.
Profiler running.

ll /dev/oprofile/
insgesamt 0
drwxr-xr-x 1 root root 0 27. Okt 06:06 1
drwxr-xr-x 1 root root 0 27. Okt 06:06 2
drwxr-xr-x 1 root root 0 27. Okt 06:06 3
-rw-r--r-- 1 root root 0 27. Okt 06:06 backtrace_depth
-rw-r--r-- 1 root root 0 27. Okt 06:06 buffer
-rw-r--r-- 1 root root 0 27. Okt 06:06 buffer_size
-rw-r--r-- 1 root root 0 27. Okt 06:06 buffer_watershed
-rw-r--r-- 1 root root 0 27. Okt 06:06 cpu_buffer_size
-rw-r--r-- 1 root root 0 27. Okt 06:06 cpu_type
-rw-rw-rw- 1 root root 0 27. Okt 06:06 dump
-rw-r--r-- 1 root root 0 27. Okt 06:06 enable
-rw-r--r-- 1 root root 0 27. Okt 06:06 pointer_size
drwxr-xr-x 1 root root 0 27. Okt 06:06 stats

So why isn't there a "0" directory?

If I try to use 1 by setting

CHOSEN_EVENTS_1=CPU_CLK_UNHALTED:100000:0:1:1
NR_CHOSEN=1

in daemonrc, I get:

No events given.

Am I doing something wrong or had the rc kernel something changed so that I
need trunk version of oprofile? Or is something broken in kernel module?

dmesg + .config
http://www.prakash.gmxhome.de/linux/2.6.19-rc1-4.txt.bz2

cat /proc/interrupts for 2.6.19-rc1
http://www.prakash.gmxhome.de/linux/irqs19.txt

lspci can be found here:
http://marc.theaimsgroup.com/?l=linux-kernel&m=115545986619977&w=2

Cheers,
--
(Â= =Â)
//\ Prakash Punnoor /\\
V_/ \_V

Attachment: pgp00000.pgp
Description: PGP signature