aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/cpu/perf_event_intel.c
diff options
context:
space:
mode:
authorAndi Kleen <ak@linux.intel.com>2015-12-03 13:22:20 -0800
committerIngo Molnar <mingo@kernel.org>2016-01-06 11:15:31 +0100
commit01330d7288e0050c5aaabc558059ff91589e67cd (patch)
treeee228a018d1a61ec4e5ecfb334c1753725fc1f72 /arch/x86/kernel/cpu/perf_event_intel.c
parentperf/x86: Remove warning for zero PEBS status (diff)
downloadlinux-dev-01330d7288e0050c5aaabc558059ff91589e67cd.tar.xz
linux-dev-01330d7288e0050c5aaabc558059ff91589e67cd.zip
perf/x86: Allow zero PEBS status with only single active event
Normally we drop PEBS events with a zero status field. But when there is only a single PEBS event active we can assume the PEBS record is for that event. The PEBS buffer is always flushed when PEBS events are disabled, so there is no risk of mishandling state PEBS records this way. Signed-off-by: Andi Kleen <ak@linux.intel.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Vince Weaver <vincent.weaver@maine.edu> Link: http://lkml.kernel.org/r/1449177740-5422-2-git-send-email-andi@firstfloor.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/kernel/cpu/perf_event_intel.c')
0 files changed, 0 insertions, 0 deletions