[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Wed, 6 Jun 2012 10:30:32 -0400
From: Vince Weaver <vweaver1@...s.utk.edu>
To: Peter Zijlstra <a.p.zijlstra@...llo.nl>
CC: <linux-kernel@...r.kernel.org>, <mingo@...e.hu>,
<paulus@...ba.org>, <acme@...stprotocols.net>
Subject: Re: [perf] exporting perf_pmu_register?
On Wed, 6 Jun 2012, Peter Zijlstra wrote:
> On Thu, 2012-03-15 at 17:41 -0400, Vince Weaver wrote:
> > Would a patch similar to
> > https://lkml.org/lkml/2010/8/18/64
> > be accepted that exported this?
> >
> If it comes with a patch that uses the exports, sure.
>
while I understand the logic behind that from a kernel-developer
perspective, it does make things harder in the real world.
In the end PAPI has implemented RAPL support via reading /dev/cpu/*/msr
because it was easier to convince our sysadmin to give us read-only
permission to /dev/cpu/*/msr than to take our in-production Sandybridge-EP
system and patch it up to export perf_pmu_register so we could work on a
proper driver.
Vince
--
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