]> www.infradead.org Git - users/jedix/linux-maple.git/commit
perf/x86/intel: Rename x86_pmu.pebs to x86_pmu.ds_pebs
authorDapeng Mi <dapeng1.mi@linux.intel.com>
Tue, 15 Apr 2025 11:44:11 +0000 (11:44 +0000)
committerIngo Molnar <mingo@kernel.org>
Thu, 17 Apr 2025 12:21:24 +0000 (14:21 +0200)
commitacb727e0956a2424f22e5ab8c1ff9a39d1acb150
tree573f1c23617e2f42a26997331c132b0624e919f4
parentd971342d38bf228ea4c137249501eb5be38ee958
perf/x86/intel: Rename x86_pmu.pebs to x86_pmu.ds_pebs

Since architectural PEBS would be introduced in subsequent patches,
rename x86_pmu.pebs to x86_pmu.ds_pebs for distinguishing with the
upcoming architectural PEBS.

Besides restrict reserve_ds_buffers() helper to work only for the
legacy DS based PEBS and avoid it to corrupt the pebs_active flag and
release PEBS buffer incorrectly for arch-PEBS since the later patch
would reuse these flags and alloc/release_pebs_buffer() helpers for
arch-PEBS.

Signed-off-by: Dapeng Mi <dapeng1.mi@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lkml.kernel.org/r/20250415114428.341182-6-dapeng1.mi@linux.intel.com
arch/x86/events/intel/core.c
arch/x86/events/intel/ds.c
arch/x86/events/perf_event.h