]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
perf/x86/intel/ds: Factor out PEBS record processing code to functions
authorDapeng Mi <dapeng1.mi@linux.intel.com>
Wed, 29 Oct 2025 10:21:30 +0000 (18:21 +0800)
committerPeter Zijlstra <peterz@infradead.org>
Fri, 7 Nov 2025 14:08:21 +0000 (15:08 +0100)
commit8807d922705f0a137d8de5f636b50e7b4fbef155
treed6a44678f2fbe5a32d73298935e4281a9bde3667
parentd243d0bb64af1e90ec18ac2fa6e7cadfe8895913
perf/x86/intel/ds: Factor out PEBS record processing code to functions

Beside some PEBS record layout difference, arch-PEBS can share most of
PEBS record processing code with adaptive PEBS. Thus, factor out these
common processing code to independent inline functions, so they can be
reused by subsequent arch-PEBS handler.

Suggested-by: Kan Liang <kan.liang@linux.intel.com>
Signed-off-by: Dapeng Mi <dapeng1.mi@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://patch.msgid.link/20251029102136.61364-7-dapeng1.mi@linux.intel.com
arch/x86/events/intel/ds.c