linux-mips
[Top] [All Lists]

Re: au1550 oprofile

To: Steve Lazaridis <slaz@fortresstech.com>
Subject: Re: au1550 oprofile
From: Steve Lazaridis <slaz@fortresstech.com>
Date: Thu, 23 Mar 2006 12:08:11 -0500
Cc: Ralf Baechle <ralf@linux-mips.org>, oprofile-list@lists.sourceforge.net, linux-mips@linux-mips.org
In-reply-to: <441B04AC.3090406@fortresstech.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <441A1D53.6080305@fortresstech.com> <20060317145657.GD3771@linux-mips.org> <441B04AC.3090406@fortresstech.com>
Reply-to: slaz@fortresstech.com
Sender: linux-mips-bounce@linux-mips.org
User-agent: Thunderbird 1.5 (X11/20051201)
I figured out the problem.
Only I'm not sure if it's actually a bug or not. :)

It seems as if it's in the userspace oprofile tools.

I commented out the following from oprofile/daemon/opd_trans.c and it works fine now.

/* FIXME: this logic is perhaps too harsh? */
if (trans->current->ignored || (trans->last && trans->last->ignored)) {
      verbprintf(vmisc, "in the harsh logic\n");
      goto out;
}


Maybe it's just too harsh for MIPS platforms? The same version of oprofile worked fine on my x86 workstation.


Thanks,
Steve



Steve Lazaridis wrote:
Thats true,
But my problem is that timer mode isn't even working

Ralf Baechle wrote:
On Thu, Mar 16, 2006 at 09:22:11PM -0500, Steve Lazaridis wrote:

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?

Alchemy processors don't implement performance counters, so there are
by definition no issues ;-)  That unfortunately means you're stuck
with timer mode.

  Ralf


<Prev in Thread] Current Thread [Next in Thread>