Eric Dumazet wrote: > On Wednesday 15 November 2006 11:35, Eric Dumazet wrote: > >>On Wednesday 15 November 2006 11:21, Adrian Bunk wrote: >> >>>Subject : x86_64: oprofile doesn't work >>>References : http://lkml.org/lkml/2006/10/27/3 >>>Submitter : Prakash Punnoor >>>Status : unknown >> > > I hit the same problem on i386 architecture too, if CONFIG_ACPI is not set. > > # opcontrol --setup --event=RESOURCE_STALLS:1000 --vmlinux=$VMFILE > # opcontrol --start > /usr/bin/opcontrol: line 911: /dev/oprofile/0/enabled: No such file or > directory > /usr/bin/opcontrol: line 911: /dev/oprofile/0/event: No such file or directory > /usr/bin/opcontrol: line 911: /dev/oprofile/0/count: No such file or directory > /usr/bin/opcontrol: line 911: /dev/oprofile/0/kernel: No such file or > directory > /usr/bin/opcontrol: line 911: /dev/oprofile/0/user: No such file or directory > /usr/bin/opcontrol: line 911: /dev/oprofile/0/unit_mask: No such file or > directory > Using 2.6+ OProfile kernel interface. > Reading module info. > Using log file /var/lib/oprofile/oprofiled.log > Daemon started. > Profiler running. > > # ls -l /dev/oprofile/ > total 0 > drwxr-xr-x 1 root root 0 Nov 22 11:18 1 > -rw-r--r-- 1 root root 0 Nov 22 11:18 backtrace_depth > -rw-r--r-- 1 root root 0 Nov 22 11:18 buffer > -rw-r--r-- 1 root root 0 Nov 22 11:18 buffer_size > -rw-r--r-- 1 root root 0 Nov 22 11:18 buffer_watershed > -rw-r--r-- 1 root root 0 Nov 22 11:18 cpu_buffer_size > -rw-r--r-- 1 root root 0 Nov 22 11:18 cpu_type > -rw-rw-rw- 1 root root 0 Nov 22 11:18 dump > -rw-r--r-- 1 root root 0 Nov 22 11:18 enable > -rw-r--r-- 1 root root 0 Nov 22 11:18 pointer_size > drwxr-xr-x 1 root root 0 Nov 22 11:18 stats > # dmesg | grep oprofile > oprofile: using NMI interrupt. > # opcontrol --version > opcontrol: oprofile 0.9.2 compiled on Nov 22 2006 11:24:09 > > Eric You will also need another patch checked into the oprofile cvs last week mentioned: http://sourceforge.net/mailarchive/message.php?msg_id=35422937 -Will