linux-mips
[Top] [All Lists]

Re: oprofile for mips 24k

To: "Atsushi Nemoto" <anemo@mba.ocn.ne.jp>, linux-mips@linux-mips.org
Subject: Re: oprofile for mips 24k
From: "Mayuresh Chitale" <mchitale@gmail.com>
Date: Mon, 29 May 2006 13:53:15 +0530
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=U4FNZtMOl2QZm1+CGQNW4lm+a3dIE6k5Yg647RJfFZo4gfJrxuIXLwTvrJYsBX05YwCljqUb9MZU5nPe+7OdM9ttZP33ADOAnXAIg5rqixL0a+iFObPGF2HHx422Vje6hLi3Y/578dtafDVukIC+X5m/Z4p6mbZLwRKE8dTgzbY=
In-reply-to: <20060529.154457.27952799.nemoto@toshiba-tops.co.jp>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <d096a3ee0605282258y210244c7sbdf994d8c075a5e@mail.gmail.com> <20060529.154457.27952799.nemoto@toshiba-tops.co.jp>
Sender: linux-mips-bounce@linux-mips.org
Hi,

The output of kill -l seems to be proper.
for eg. kill -l USR1 returns value of 16 which looks like the correct
value for mips.

Thanks,
Mayuresh.

On 5/29/06, Atsushi Nemoto <anemo@mba.ocn.ne.jp> wrote:
On Mon, 29 May 2006 11:28:06 +0530, "Mayuresh Chitale" <mchitale@gmail.com> 
wrote:
> But ps -aef shows oprofiled is not running.
> # ps -aef
...
>
> Do we need to do some additional setup / init to get this working?
> Any experience/suggestion is welcome.

The oprofile requires bash.  If you were cross-compiling bash, please
check output of "kill -l".  If bash was not correctly cross-compiled,
a value of some signals might be wrong (ex. signal 10 is SIGUSR1 on
i386 but SIGBUS on MIPS).  The opcontrol send SIGUSR1/SIGUSR2 to
oprofiled.

---
Atsushi Nemoto


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