aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/events/intel
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2019-04-16 12:14:46 +0200
committerIngo Molnar <mingo@kernel.org>2019-04-16 12:14:46 +0200
commitcc8670945d43f857dcb99c61ea3beaacfb6ed472 (patch)
tree9f75c5df1c2d46e2a48c06f9939cc5548715121e /arch/x86/events/intel
parentMerge branch 'linus' into perf/core, to pick up fixes (diff)
parentperf/x86: Fix incorrect PEBS_REGS (diff)
downloadlinux-dev-cc8670945d43f857dcb99c61ea3beaacfb6ed472.tar.xz
linux-dev-cc8670945d43f857dcb99c61ea3beaacfb6ed472.zip
Merge branch 'perf/urgent' into perf/core, to pick up fixes
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/events/intel')
-rw-r--r--arch/x86/events/intel/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/events/intel/core.c b/arch/x86/events/intel/core.c
index 1403c05e25e2..1bb59c4c59f2 100644
--- a/arch/x86/events/intel/core.c
+++ b/arch/x86/events/intel/core.c
@@ -3134,7 +3134,7 @@ static unsigned long intel_pmu_large_pebs_flags(struct perf_event *event)
flags &= ~PERF_SAMPLE_TIME;
if (!event->attr.exclude_kernel)
flags &= ~PERF_SAMPLE_REGS_USER;
- if (event->attr.sample_regs_user & ~PEBS_REGS)
+ if (event->attr.sample_regs_user & ~PEBS_GP_REGS)
flags &= ~(PERF_SAMPLE_REGS_USER | PERF_SAMPLE_REGS_INTR);
return flags;
}