LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-19-2009, 02:06 AM   #1
raklo
Member
 
Registered: Apr 2006
Posts: 143

Rep: Reputation: 15
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???
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to find special-purpose-registers in a MIPS 24k???? raklo Linux - Hardware 0 01-05-2009 04:48 AM
Port linux kernel 2.6.26.5 to my MIPS board yongchao Linux - Newbie 1 11-13-2008 04:40 AM
Port linux kernel 2.6.26.5 to MIPS board yongchao Linux - Kernel 0 11-13-2008 04:32 AM
MALTA MIPS Board bring up problem with linux kernel 2.6.12-rc6 shyamals Linux - General 0 04-27-2006 02:19 AM
LXer: Virtual dev-board runs Linux on multi-threaded MIPS cores LXer Syndicated Linux News 0 02-07-2006 05:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration