OProfile: no kernel symbols

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I can't get OProfile to give me profiling information for kernel symbols:

   # opreport --threshold=5 --symbols /boot/vmlinux-2.4.22-1.2188.nptlsmp
   CPU: PIII, speed 1004.54 MHz (estimated)
   Counted CPU_CLK_UNHALTED events (clocks processor is not halted) with a unit mask of 0x00 (No unit mask) count 502271
   vma      samples  %           symbol name
   00000000 2034171  100.0000    (no symbols)

I get the required information with a binary (or a shared object
library).

   $ opreport --threshold=5 --no-header --symbols /usr/local/bin/xemacs-21.4.15
   08083168 5249     10.2400     mark_object
   08083670 3793      7.3995     mark_cons
   08083e18 2975      5.8037     sweep_conses


I started OProfile with:

   opcontrol --setup --event=default --vmlinux=/boot/vmlinux-`uname -r` --start

and I am using:

   * oprofile-0.7cvs-0.20030829.6 (the latest for Fedora Core 1)
   * kernel-smp-2.4.22-1.2188.nptl
   * kernel-source-2.4.22-1.2188.nptl

The file /boot/System-map-2.4.22-1.2188.nptlsmp is present and seems to
contain the required symbols.
   
What am I doing wrong?

Thanks.

--- Vladimir

------------------------------------------------------------------------
Vladimir G. Ivanovic                        http://leonora.org/~vladimir
2770 Cowper St.                                         vladimir@xxxxxxx
Palo Alto, CA 94306-2447                                 +1 650 678 8014
------------------------------------------------------------------------



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux