Re: [PATCH] perf/x86/intel: Add cpu_(prepare|starting|dying) for core_pmu
From: Jiri Olsa
Date: Tue Apr 21 2015 - 11:19:32 EST
On Tue, Apr 21, 2015 at 05:12:16PM +0200, Peter Zijlstra wrote:
> On Tue, Apr 21, 2015 at 10:54:25AM +0200, Jiri Olsa wrote:
> > @@ -2559,6 +2563,9 @@ static __initconst const struct x86_pmu core_pmu = {
> > .guest_get_msrs = core_guest_get_msrs,
> > .format_attrs = intel_arch_formats_attr,
> > .events_sysfs_show = intel_event_sysfs_show,
>
> Could you also insert a little comment here how these methods are for
> 'funny' 'hardware' ?
ook, will do v3
jirka
>
> > + .cpu_prepare = intel_pmu_cpu_prepare,
> > + .cpu_starting = intel_pmu_cpu_starting,
> > + .cpu_dying = intel_pmu_cpu_dying,
> > };
> >
> > struct intel_shared_regs *allocate_shared_regs(int cpu)
> > --
> > 1.9.3
> >
--
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/