[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1309716271.3282.6.camel@twins>
Date: Sun, 03 Jul 2011 20:04:31 +0200
From: Peter Zijlstra <a.p.zijlstra@...llo.nl>
To: Robert Richter <robert.richter@....com>
Cc: Paul Mackerras <paulus@...ba.org>, Ingo Molnar <mingo@...e.hu>,
Arnaldo Carvalho de Melo <acme@...stprotocols.net>,
linux-kernel@...r.kernel.org
Subject: Re: [RFC] [PATCH] perf: Attaching an event to a specific PMU
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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists