mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Eugene Loh <eugene.loh@oracle.com>
To: jolsa@kernel.org
Cc: song@kernel.org, ast@kernel.org, rostedt@goodmis.org,
	linux-kernel@vger.kernel.org,
	Kris Van Hees <kris.van.hees@oracle.com>
Subject: aarch64 missing from Revert "perf/x86: Always store regs->ip in perf_callchain_kernel()"
Date: Mon, 12 Jan 2026 01:17:53 -0500	[thread overview]
Message-ID: <a38fed68-67bc-98ce-8e12-743342121ae3@oracle.com> (raw)

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?


             reply	other threads:[~2026-01-12  6:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-12  6:17 Eugene Loh [this message]
2026-01-13 22:18 ` Jiri Olsa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a38fed68-67bc-98ce-8e12-743342121ae3@oracle.com \
    --to=eugene.loh@oracle.com \
    --cc=ast@kernel.org \
    --cc=jolsa@kernel.org \
    --cc=kris.van.hees@oracle.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rostedt@goodmis.org \
    --cc=song@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®