lkml.org 
[lkml]   [2012]   [Jun]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/5] perf, x86: Don't assume the alternative cycles encoding is architectural
On Wed, Jun 06, 2012 at 12:39:48PM +0200, Peter Zijlstra wrote:
> On Tue, 2012-06-05 at 17:56 -0700, Andi Kleen wrote:
> > From: Andi Kleen <ak@linux.intel.com>
> >
> > cycles:p uses an special cycles encoding by default. However that is not
> > architectural, so it can only be used when the CPU is known
> > (it already caused problems on Sandy Bridge). It may or may not work
> > on future CPUs.
> >
> > So make it opt-in only. Right now I enabled it on Core2, Nehalem, Westmere
> > and not on Sandy-Bridge or Atom.
>
> No.

What do you mean? Are you claiming it's architectural?

> Also, c0 is a PEBS capable event on Atom just fine.

Ok can enable it there.

-Andi

--
ak@linux.intel.com -- Speaking for myself only


\
 
 \ /
  Last update: 2012-06-06 17:01    [W:0.149 / U:0.748 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site