summaryrefslogtreecommitdiff
path: root/sound/core
diff options
context:
space:
mode:
authorStephane Eranian <eranian@google.com>2016-01-06 18:50:01 (GMT)
committerArnaldo Carvalho de Melo <acme@redhat.com>2016-01-06 23:11:16 (GMT)
commit84530920de3c6ccb92c6661da784f6cdb66d3304 (patch)
treea89ee9f1e95db76950e426e0da62591fdcce419e /sound/core
parentb8a1962d17b4e3cfdd7b7dc9ebd94affbcb4c1c5 (diff)
downloadlinux-84530920de3c6ccb92c6661da784f6cdb66d3304.tar.xz
perf pmu: fix alias->snapshot missing initialization bug
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. Signed-off-by: Stephane Eranian <eranian@google.com> Cc: Andi Kleen <ak@linux.intel.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Kan Liang <kan.liang@intel.com> Cc: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/r/1452106201-13073-1-git-send-email-eranian@google.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'sound/core')
0 files changed, 0 insertions, 0 deletions