|
|
Log in / Subscribe / Register

Re: [GIT PULL] perf changes for v3.8

From:  David Ahern <dsahern-AT-gmail.com>
To:  Linus Torvalds <torvalds-AT-linux-foundation.org>
Subject:  Re: [GIT PULL] perf changes for v3.8
Date:  Wed, 12 Dec 2012 20:25:16 -0700
Message-ID:  <50C94A9C.2050900@gmail.com>
Cc:  Ingo Molnar <mingo-AT-kernel.org>, Linux Kernel Mailing List <linux-kernel-AT-vger.kernel.org>, Arnaldo Carvalho de Melo <acme-AT-infradead.org>, Peter Zijlstra <a.p.zijlstra-AT-chello.nl>, Thomas Gleixner <tglx-AT-linutronix.de>, Andrew Morton <akpm-AT-linux-foundation.org>
Archive‑link:  Article

On 12/12/12 7:53 PM, Linus Torvalds wrote:
> Hmm. This may be entirely unrelated to this particular pull request, but
>
>     perf record -e cycles:pp
>
> no longer works on my westmere machine (Operation not supported). It
> used to work, but I haven't tried to bisect it, since I hope somebody
> will just go "oh, I know what's up".

One last "I may know what's up" question. I wonder if you are tripping 
on this:

     if (event->attr.precise_ip) {
         int precise = 0;

         if (!event->attr.exclude_guest)
             return -EOPNOTSUPP;

Are you running an older perf binary on the 3.8 kernel?

Does this work: perf record -e cycles:ppH  ...

David



to post comments


Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds