summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorKan Liang <kan.liang@linux.intel.com>2024-12-16 21:45:02 +0100
committerPeter Zijlstra <peterz@infradead.org>2024-12-17 17:47:23 +0100
commitb8c3a2502a205321fe66c356f4b70cabd8e1a5fc (patch)
tree71390ea1190643417969c7e14f0b94ec9bcab1a3 /arch
parentperf/x86/intel/uncore: Add Clearwater Forest support (diff)
downloadlinux-b8c3a2502a205321fe66c356f4b70cabd8e1a5fc.tar.xz
linux-b8c3a2502a205321fe66c356f4b70cabd8e1a5fc.zip
perf/x86/intel/ds: Add PEBS format 6
The only difference between 5 and 6 is the new counters snapshotting group, without the following counters snapshotting enabling patches, it's impossible to utilize the feature in a PEBS record. It's safe to share the same code path with format 5. Add format 6, so the end user can at least utilize the legacy PEBS features. Fixes: a932aa0e868f ("perf/x86: Add Lunar Lake and Arrow Lake support") Signed-off-by: Kan Liang <kan.liang@linux.intel.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: stable@vger.kernel.org Link: https://lore.kernel.org/r/20241216204505.748363-1-kan.liang@linux.intel.com
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/events/intel/ds.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/events/intel/ds.c b/arch/x86/events/intel/ds.c
index 1a4b326ca2ce..6ba6549f26fa 100644
--- a/arch/x86/events/intel/ds.c
+++ b/arch/x86/events/intel/ds.c
@@ -2517,6 +2517,7 @@ void __init intel_ds_init(void)
x86_pmu.large_pebs_flags |= PERF_SAMPLE_TIME;
break;
+ case 6:
case 5:
x86_pmu.pebs_ept = 1;
fallthrough;