[perf] exporting perf_pmu_register?

From: Vince Weaver
Date: Thu Mar 15 2012 - 17:41:15 EST


Hello

I'm attempting to write a perf pmu driver as a kernel module, but
am finding this difficult to do it properly because
perf_pmu_register
is not exported.

Would a patch similar to
https://lkml.org/lkml/2010/8/18/64
be accepted that exported this?

I'm trying to write a RAPL/energy pmu module on a Sandybridge-EP machine
but the sysadmin won't install a custom kernel so I'm stuck trying to do
it entirely via loadable module, and it turns out this doesn't seem to be
possible at all :(

Vince
vweaver1@xxxxxxxxxxxx

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/