lkml.org 
[lkml]   [2012]   [Dec]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/3] perf x86: Add precise sysfs attribute
On Thu, Dec 20, 2012 at 05:39:25PM +0900, Namhyung Kim wrote:
> On Wed, Dec 19, 2012 at 04:07:21PM +0100, Jiri Olsa wrote:
> > Adding sysfs precise attribute for cpu device (/sys/devices/cpu)
> > to show the maximum value for perf event precise attribute.
> >
> > This will be initialy used for automated precise event perf test
> > and could be helpful otherwise. Arnaldo suggested to use this as
> > a guide for default adding of precise attribute for HW events.
>
> Although I'm not aware of which architectures support precise feature,
> wouldn't it better putting this on architecture independent rather
> than just for x86 with fallback routine returning 0?

same here.. :) no idea if there's same concept in other archs

Anyway, I'd say it's not big change so once other archs get
interested, it's easy to make it global one.

Same like for event aliases moving to ppc now:
http://marc.info/?l=linux-kernel&m=135590210618224&w=2

thanks,
jirka


\
 
 \ /
  Last update: 2012-12-20 13:01    [W:0.133 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site