lkml.org 
[lkml]   [2012]   [Jun]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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



\
 
 \ /
  Last update: 2012-06-06 17:21    [W:0.064 / U:0.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site