lkml.org 
[lkml]   [2011]   [May]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 3/4] x86, mce: Add persistent MCE event

* Borislav Petkov <bp@amd64.org> wrote:

> I'm guessing that when we move those to /sysfs, this mechanism will have to
> change too so it might make sense to move that functionality to persistent.c.
> Let me see what I can do.

Yes, we really do not want to increase the debugfs mess. This looks like an
implementational detail but from a tooling POV it's quite essential.

As a starting point check out Peter's patch from November 2010:

[RFC][PATCH 8/8] perf: Sysfs events

https://lkml.org/lkml/2010/11/17/489

That patch should still apply cleanly to the latest tree.

In the end we want all events (including regular hw events) to be easily
available via sysfs enumeration. The goal is that ideally when you type 'perf
list' it should only access /sys.

Thanks,

Ingo


\
 
 \ /
  Last update: 2011-05-03 10:31    [W:0.093 / U:0.360 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site