]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
perf/x86/intel: Only check GP counters for PEBS constraints validation
authorDapeng Mi <dapeng1.mi@linux.intel.com>
Sat, 28 Feb 2026 05:33:19 +0000 (13:33 +0800)
committerPeter Zijlstra <peterz@infradead.org>
Thu, 12 Mar 2026 10:29:17 +0000 (11:29 +0100)
commitb191aa32be2c960ca2391b40e862c389230cadef
tree659f23ef893c2bba6f6d158a097e55d6c2498517
parent73cee0aad1ee2479fde2c9b753a1b66acb7d1b9a
perf/x86/intel: Only check GP counters for PEBS constraints validation

It's good enough to only check GP counters for PEBS constraints
validation since constraints overlap can only happen on GP counters.

Besides opportunistically refine the code style and use pr_warn() to
replace pr_info() as the message itself is a warning message.

Signed-off-by: Dapeng Mi <dapeng1.mi@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://patch.msgid.link/20260228053320.140406-1-dapeng1.mi@linux.intel.com
arch/x86/events/intel/core.c