Messages in this thread | | | Subject | Re: [RFC PATCH 2/3 v3] perf: Implement Nehalem uncore pmu | From | Peter Zijlstra <> | Date | Thu, 09 Dec 2010 20:24:30 +0100 |
| |
On Thu, 2010-12-02 at 13:20 +0800, Lin Ming wrote: > +++ b/arch/x86/kernel/cpu/perf_event.c
> @@ -1362,6 +1357,7 @@ int __init init_hw_perf_events(void) > > switch (boot_cpu_data.x86_vendor) { > case X86_VENDOR_INTEL: > + init_uncore_pmu(); > err = intel_pmu_init(); > break; > case X86_VENDOR_AMD:
Since you're otherwise fully separated from the regular cpu driver, could you also grow your own early_initcall() ?
| |