perf/x86: Fix PEBS threshold initialization
authorJiri Olsa <jolsa@kernel.org>
Thu, 18 Aug 2016 09:09:52 +0000 (11:09 +0200)
committerIngo Molnar <mingo@kernel.org>
Thu, 18 Aug 2016 09:58:02 +0000 (11:58 +0200)
commitb6a32f023fcc9cbd1602f78a467fd8d41bbc9457
tree593dec9516fdbfce9a54f83d768de107ccbddbdb
parente64cd6f73ff5a7eb4f8f759049ee24a3fe55e731
perf/x86: Fix PEBS threshold initialization

Latest PEBS rework change could skip initialization
of the ds->pebs_interrupt_threshold for single event
PEBS threshold events.

Make sure the PEBS threshold gets always initialized.

Signed-off-by: Jiri Olsa <jolsa@redhat.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Fixes: 09e61b4f7849 ("perf/x86/intel: Rework the large PEBS setup code")
Link: http://lkml.kernel.org/r/1471511392-29875-1-git-send-email-jolsa@kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/events/intel/ds.c