Thread (1 message) 1 message, 1 author, 2024-09-11

Re: [PATCH 2/5] perf: Hoist perf_instruction_pointer() and perf_misc_flags()

From: Colton Lewis <hidden>
Date: 2024-09-11 22:01:40
Also in: kvm, linux-arm-kernel, linux-perf-users, linux-s390, lkml

Ingo Molnar [off-list ref] writes:
* Colton Lewis [off-list ref] wrote:
quoted
--- 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
quoted
+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' ??
That is fixed in a later commit. I will correct this one also.
Thanks,
	Ingo
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help