Messages in this thread | | | Date | Tue, 21 Apr 2015 17:18:27 +0200 | From | Jiri Olsa <> | Subject | Re: [PATCH] perf/x86/intel: Add cpu_(prepare|starting|dying) for core_pmu |
| |
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 > >
| |