lkml.org 
[lkml]   [2006]   [Oct]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Subject2.6.19-rc* and oprofile issues
    Date
    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
    [unhandled content-type:application/pgp-signature]
    \
     
     \ /
      Last update: 2006-10-27 06:25    [W:0.023 / U:0.492 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site