[PATCH 2/5] perf: Hoist perf_instruction_pointer() and perf_misc_flags()
Ingo Molnar
mingo at kernel.org
Thu Sep 5 19:46:42 AEST 2024
* Colton Lewis <coltonlewis at google.com> wrote:
> --- a/kernel/events/core.c
> +++ b/kernel/events/core.c
> @@ -6915,6 +6915,16 @@ void perf_unregister_guest_info_callbacks(struct perf_guest_info_callbacks *cbs)
> EXPORT_SYMBOL_GPL(perf_unregister_guest_info_callbacks);
> #endif
>
> +unsigned long perf_misc_flags(unsigned long pt_regs *regs)
> +{
> + return perf_arch_misc_flags(regs);
> +}
> +
> +unsigned long perf_instruction_pointer(unsigned long pt_regs *regs)
> +{
> + return perf_arch_instruction_pointer(regs);
> +}
What's an 'unsigned long pt_regs' ??
Thanks,
Ingo
More information about the Linuxppc-dev
mailing list