Messages in this thread | | | Subject | Re: [RFC] [PATCH] perf: Attaching an event to a specific PMU | From | Peter Zijlstra <> | Date | Sun, 03 Jul 2011 20:04:31 +0200 |
| |
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.
| |