The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* aarch64 missing from Revert "perf/x86: Always store regs->ip in perf_callchain_kernel()"
@ 2026-01-12  6:17 Eugene Loh
  2026-01-13 22:18 ` Jiri Olsa
  0 siblings, 1 reply; 2+ messages in thread
From: Eugene Loh @ 2026-01-12  6:17 UTC (permalink / raw)
  To: jolsa; +Cc: song, ast, rostedt, linux-kernel, Kris Van Hees

Thanks for reverting that patch:
https://lore.kernel.org/r/20251104215405.168643-2-jolsa@kernel.org
https://github.com/torvalds/linux/commit/6d08340d1e354787d6c65a8c3cdd4d41ffb8a5ed
     Revert "perf/x86: Always store regs->ip in perf_callchain_kernel()"
     This reverts commit 83f44ae.

But it seems to me that this issue is not specific to x86.  For example, 
here is aarch64, using a 6.18 kernel:

     # bpftrace -e 'tracepoint:sched:sched_process_exec { 
print(kstack()); }'

         perf_trace_sched_process_exec+16
         perf_trace_sched_process_exec+16
         __traceiter_sched_process_exec+80
         exec_binprm+908
         bprm_execve.part.0+464
         bprm_execve+68
         do_execveat_common.isra.0+456
         __arm64_sys_execve+76
         invoke_syscall+112
         el0_svc_common.constprop.0+264
         do_el0_svc+36
         el0_svc+56
         el0t_64_sync_handler+184
         el0t_64_sync+412

The leaf IP is repeated.  Are corresponding changes needed for 
processors other than just x86?


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-01-13 22:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-12  6:17 aarch64 missing from Revert "perf/x86: Always store regs->ip in perf_callchain_kernel()" Eugene Loh
2026-01-13 22:18 ` Jiri Olsa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox