Re: [RFC PATCH 2/3 v3] perf: Implement Nehalem uncore pmu

From: Peter Zijlstra
Date: Thu Dec 09 2010 - 14:24:43 EST


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() ?
--
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/