]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
perf/x86/intel/ds: Add PEBS format 6
authorKan Liang <kan.liang@linux.intel.com>
Mon, 16 Dec 2024 20:45:02 +0000 (12:45 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Jan 2025 09:34:23 +0000 (10:34 +0100)
commit7182f93bb358a99eeb9087c645230d29491230a8
tree43987940433ed715ea9e12a07c3f839c9bb8b935
parent2a9cbd6c9049abea2825b43eaa4da68b685452be
perf/x86/intel/ds: Add PEBS format 6

commit b8c3a2502a205321fe66c356f4b70cabd8e1a5fc upstream.

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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/events/intel/ds.c