lkml.org 
[lkml]   [2022]   [Sep]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 2/9] perf/x86/intel: Move the topdown stuff into the intel driver
On Wed, Aug 31, 2022 at 09:41:06AM -0400, Liang, Kan wrote:
> > static void intel_pmu_reset(void)
> > {
> > struct debug_store *ds = __this_cpu_read(cpu_hw_events.ds);
> > @@ -4635,6 +4653,10 @@ static __initconst const struct x86_pmu
> > .enable_all = core_pmu_enable_all,
> > .enable = core_pmu_enable_event,
> > .disable = x86_pmu_disable_event,
> > +
> > + .set_period = intel_pmu_set_period,
> > + .update = intel_pmu_update,
>
> I tried the patch, but it impacts the topdown.
> The root cause is that these should be added for intel_pmu rather than
> core_pmu.
>

Dang; must be a rebase fail on my end, sorry about that. Let me go fix
that.

\
 
 \ /
  Last update: 2022-09-01 11:10    [W:0.057 / U:0.388 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site