Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Steve Lazaridis <slaz@fortresstech.com>
To: oprofile-list@lists.sourceforge.net
Cc: linux-mips@linux-mips.org
Subject: au1550 oprofile
Date: Thu, 16 Mar 2006 21:22:11 -0500	[thread overview]
Message-ID: <441A1D53.6080305@fortresstech.com> (raw)

Has anyone successfully ran oprofile on an au1550?
If so, was it in BigEndian mode?

Are there any known issues with oprofile on au1xxx platforms?


Here's some information on what I'm currently running.
Oprofile version:  oprofile 0.9.2cvs
Oprofile kernel:   driver: 2.6.15
Kernel version:    2.6.13rc7 ~ from linux-mips
Endianess:  	   Big

I'm running in __timer mode__, I can't use performance counters.

What I did was take the latest version of the oprofile kernel driver 
from 2.6.15 and backport all the changes.  I also merged in the latest 
changes for the arch/mips/oprofile stuff too.

That finally got the driver to compile and load on the target.

I then attempted the following:
opcontrol --no-vmlinux
opcontrol --start
/usr/bin/app_that_Uses_up_CPU
opcontrol --shutdown

opcontrol --dump   <--- returns nothing

opreport -l 	   <--- returns the following:
opreport error: No sample file found: try running opcontrol --dump
or specify a session containing sample files


I then realized that the timer_interupt handler wasn't being called.  I 
fixed that, so now I can actually see the 
/dev/oprofile/stats/cpu0/sample_received  being increased.
__but__ I still have no output from the opreport or opcontrol --dump


At this point I'm asking for help, any tips or hints are much appreciated.


Cheers,
Steve

             reply	other threads:[~2006-03-17  2:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-17  2:22 Steve Lazaridis [this message]
2006-03-17  7:11 ` vsftp -- ping ( two problems) Gowri Satish Adimulam
2006-03-17  9:46   ` Ralf Baechle
2006-03-17 14:56 ` au1550 oprofile Ralf Baechle
2006-03-17 18:49   ` Steve Lazaridis
2006-03-23 17:08     ` Steve Lazaridis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=441A1D53.6080305@fortresstech.com \
    --to=slaz@fortresstech.com \
    --cc=linux-mips@linux-mips.org \
    --cc=oprofile-list@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox