[Top] [All Lists]

Re: Performance counters and profiling on MIPS

To: Nigel Stephens <>, Prasad Boddupalli <>
Subject: Re: Performance counters and profiling on MIPS
From: Jonathan Day <>
Date: Wed, 14 Jun 2006 11:14:31 -0700 (PDT)
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024;; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=nP+ddtses2oi5wlM31DtmT3MEYqWCPCsTJ4SoEkAIP9Dw44wBUUHErZhhK+ntDgkRAxRaV6sV9NuekW/M0cIrm7nNAO0Z4LTHS0JCkQJ1x7bqqvZPDvmFBgp0Uqb1O2FAj26tP9nuEWdrao5TrZmiot+1BscNY7NNp1PEFznCs0= ;
In-reply-to: <>
Original-recipient: rfc822;
Ok, the kernel version number listed is current to
2.6.17-rc6, and the MIPS patches -almost- go in

In the syscalls in arch/mips/kernel, there is a new
syscall (sys_tee) that throws the patches off as it is
not in the context. This is very easy to massage.

The same is true of include/asm-mips/unistd.h, except
there the count of syscalls is also off by one. Again,
a very easy fix.

Other than that, it looks current and looks good. I'm
going to be doing some testing on it, to see whether
it works as well as it looks, or whether it causes the
CPU to leap three feet in the air, discharging the
magic blue smoke.

If other people have had success with it, though, I
would definitely suggest considering it for inclusion
in the linux-mips GIT tree. Those who don't need
performance counters won't be adversely affected, and
those of us who do would likely benefit.

If the linux-mips tree would not be appropriate, then
could someone take up hypnosis and get it included in
the main tree?


--- Nigel Stephens <> wrote:

> Prasad Boddupalli wrote:
> > Perfctr
> ( and
> > ( are precisely such
> attempts. Except that
> > MIPS ports of them do not seem to be available.
> There's also perfmon2, for which a MIPS patch is
> available - though no 
> idea how up-to-date it is. See
> Nigel

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

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