lkml.org 
[lkml]   [2011]   [Jul]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC] [PATCH] perf: Attaching an event to a specific PMU
From
Date
On Sun, 2011-07-03 at 17:04 +0200, Robert Richter wrote:
>
> this is a prototype implementation for attaching an event to a
> specific PMU. If there is a general acceptance for this approach I
> will create patches for upstream integration and base my current IBS
> patches on it.

But there's already an infrastructure to do this, simply stick the
contents of /sys/bus/event_source/devices/*/type in
perf_event_attr::type and you're done.
I don't see the need for /dev crap.


\
 
 \ /
  Last update: 2011-07-03 20:07    [from the cache]
©2003-2011 Jasper Spaans