LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   oprofiler not producing proper samples,for MIPS 24K board (https://www.linuxquestions.org/questions/linux-software-2/oprofiler-not-producing-proper-samples-for-mips-24k-board-698268/)

raklo 01-19-2009 02:06 AM

oprofiler not producing proper samples,for MIPS 24K board
 
hi all,
i have installed a customized 2.6.21v kernel on a MIPS 24k core based board on which i have installed the default kernel profiler,oprofile.
Now when i start profiling thru commands given below everything goes fine,
the profiler package that i m using is oprofile-0.9.3

Code:

#opcontrol ––setup
  ––vmlinux=/root/vmlinux 
  ––event=INSTRUCTIONS:100000:0:1:1

#opcontrol --start

SESSION_DIR /var/lib/oprofile
LOCK_FILE  /var/lib/oprofile/lock
SAMPLES_DIR /var/lib/oprofile/samples
CURRENT_SAMPLES_DIR /var/lib/oprofile/samples/current
CPUTYPE mips/24K
Profiler running.

(On this command the oprofiled daemon starts)

uclibc[~]# opcontrol --dump                   
SESSION_DIR /var/lib/oprofile
LOCK_FILE  /var/lib/oprofile/lock
SAMPLES_DIR /var/lib/oprofile/samples
CURRENT_SAMPLES_DIR /var/lib/oprofile/samples/current
CPUTYPE mips/24K

and after this command the sample files are also created,but
when i try to see the profile output i get


Code:


uclibc[~]# ouclibc[~]# opreport -l /root/vmlinux
warning: /root/vmlinux could not be found.
CPU: MIPS 24K, speed 0 MHz (estimated)
Counted INSTRUCTIONS events (Instructions completed) with a unit mask of 0x00 (No unit mask) count 100000
samples  %        symbol name
4953    100.000  /root/vmlinux

uclibc[~]#

as shown above,the profiler is not able to show the details of what is going inside the vmlinux image,i.e,it does not shows the kernel-api and
other function call details ,which iit is supposed to show.

Kindly guide me,as to if i am missing something???


All times are GMT -5. The time now is 06:33 AM.