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

From: Lin Ming
Date: Fri Dec 10 2010 - 03:24:35 EST


On Fri, 2010-12-10 at 03:24 +0800, Peter Zijlstra wrote:
> 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() ?

OK, will use 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/