lkml.org 
[lkml]   [2016]   [Jan]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] perf pmu: fix alias->snapshot missing initialization bug
Em Wed, Jan 06, 2016 at 07:50:01PM +0100, Stephane Eranian escreveu:
> This patch fixes a bug in __perf_pmu__new_alias() whereby
> the alias->snapshot field was not initialized to false. This
> led to random alias->snapshot value for an alias and
> was breaking some measurements such as:
>
> $ perf stat -a -e uncore_imc/data_reads/ -I 1000 sleep 100
>
> Because the event ended up being treated as snapshot mode, when
> it is not.

Thanks, applied.

- Arnaldo


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