lkml.org 
[lkml]   [2016]   [Feb]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [patch V2 10/28] x86/perf/intel_uncore: Store box in event->pmu_private
On Mon, Feb 22, 2016 at 11:06:50AM -0000, Thomas Gleixner wrote:
> Index: b/arch/x86/kernel/cpu/perf_event_intel_uncore_snb.c
> ===================================================================
> --- a/arch/x86/kernel/cpu/perf_event_intel_uncore_snb.c
> +++ b/arch/x86/kernel/cpu/perf_event_intel_uncore_snb.c
> @@ -313,6 +313,7 @@ static int snb_uncore_imc_event_init(str
> return -EINVAL;
>
> event->cpu = box->cpu;
> + event->pmu_private = pmu;

This seems rather pointless, did you want that to be '= box' instead?

>
> event->hw.idx = -1;
> event->hw.last_tag = ~0ULL;
>
>

\
 
 \ /
  Last update: 2016-02-22 13:01    [W:0.339 / U:0.168 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site