]> www.infradead.org Git - users/jedix/linux-maple.git/commit
perf/core: Hoist perf_instruction_pointer() and perf_misc_flags()
authorColton Lewis <coltonlewis@google.com>
Wed, 13 Nov 2024 19:01:52 +0000 (19:01 +0000)
committerIngo Molnar <mingo@kernel.org>
Thu, 14 Nov 2024 09:40:01 +0000 (10:40 +0100)
commit04782e63917dbcb60932fe93df52c4a4e3859d07
tree749b297265e557a11d5d8f930bbd2e35b4bb7542
parente33ed362cf9e35db6082f7a776b7e8d557407e19
perf/core: Hoist perf_instruction_pointer() and perf_misc_flags()

For clarity, rename the arch-specific definitions of these functions
to perf_arch_* to denote they are arch-specifc. Define the
generic-named functions in one place where they can call the
arch-specific ones as needed.

Signed-off-by: Colton Lewis <coltonlewis@google.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Oliver Upton <oliver.upton@linux.dev>
Acked-by: Thomas Richter <tmricht@linux.ibm.com>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Acked-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Acked-by: Kan Liang <kan.liang@linux.intel.com>
Link: https://lore.kernel.org/r/20241113190156.2145593-3-coltonlewis@google.com
arch/arm64/include/asm/perf_event.h
arch/arm64/kernel/perf_callchain.c
arch/powerpc/include/asm/perf_event_server.h
arch/powerpc/perf/core-book3s.c
arch/s390/include/asm/perf_event.h
arch/s390/kernel/perf_event.c
arch/x86/events/core.c
arch/x86/include/asm/perf_event.h
include/linux/perf_event.h
kernel/events/core.c