]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
perf/x86/intel: Replace x86_pmu.drain_pebs calling with static call
authorDapeng Mi <dapeng1.mi@linux.intel.com>
Wed, 29 Oct 2025 10:21:27 +0000 (18:21 +0800)
committerPeter Zijlstra <peterz@infradead.org>
Fri, 7 Nov 2025 14:08:20 +0000 (15:08 +0100)
commitee98b8bfc7c4baca69a6852c4ecc399794f7e53b
treec8a45e7cb7c733a7993d995bfc89e80253ecac7f
parent7e772a93eb61cb6265bdd1c5bde17d0f2718b452
perf/x86/intel: Replace x86_pmu.drain_pebs calling with static call

Use x86_pmu_drain_pebs static call to replace calling x86_pmu.drain_pebs
function pointer.

Suggested-by: Peter Zijlstra <peterz@infradead.org>
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-4-dapeng1.mi@linux.intel.com
arch/x86/events/intel/core.c