linux-trace-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Unsupported CONFIG_FPROBE and CONFIG_RETHOOK on ARM64
@ 2024-09-05  1:02 Andrii Nakryiko
  2024-09-10 18:23 ` Andrii Nakryiko
  0 siblings, 1 reply; 19+ messages in thread
From: Andrii Nakryiko @ 2024-09-05  1:02 UTC (permalink / raw)
  To: Masami Hiramatsu, Steven Rostedt, Alexei Starovoitov,
	Florent Revest
  Cc: bpf, Linux trace kernel, adubey, Naveen N. Rao, KP Singh

Hey,

I just recently realized that we are still missing multi-kprobe
support for ARM64, which depends on CONFIG_FPROBE. And CONFIG_FPROBE
seems to require CONFIG_HAVE_RETHOOK, which, it turns out, is not
implemented for ARM64.

It took me a while to realize what's going on, as I roughly remembered
(and confirmed through lore search) that Masami's original rethook
patches had arm64-specific bits. Long story short:

0f8f8030038a Revert "arm64: rethook: Add arm64 rethook implementation"
83acdce68949 arm64: rethook: Add arm64 rethook implementation

The patch was landed and then reverted. I found some discussion online
and it seems like the plan was to land arch-specific bits shortly
after bpf-next PR.

But it seems like that never happened. Why?

I see s390x, RISC-V, loongarch (I'm not even mentioning x86-64) all
have CONFIG_HAVE_RETHOOK, even powerpc is getting one (see [0]), it
seems. How come ARM64 is the one left out?

Can anyone please provide some context? And if that's just an
oversight, can we prioritize landing this for ARM64 ASAP?

  [0] https://lore.kernel.org/bpf/20240830113131.7597-1-adubey@linux.ibm.com/


-- Andrii

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

end of thread, other threads:[~2024-09-12 18:38 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-05  1:02 Unsupported CONFIG_FPROBE and CONFIG_RETHOOK on ARM64 Andrii Nakryiko
2024-09-10 18:23 ` Andrii Nakryiko
2024-09-10 18:40   ` Steven Rostedt
2024-09-10 18:54   ` Steven Rostedt
2024-09-10 20:29     ` Andrii Nakryiko
2024-09-10 22:22       ` Steven Rostedt
2024-09-11  0:27         ` Andrii Nakryiko
2024-09-11  1:27           ` Steven Rostedt
2024-09-11  1:32             ` Steven Rostedt
2024-09-11  0:39       ` Masami Hiramatsu
2024-09-11  0:44         ` Andrii Nakryiko
2024-09-11 15:26           ` Masami Hiramatsu
2024-09-11 20:21             ` Andrii Nakryiko
2024-09-11  0:13   ` Masami Hiramatsu
2024-09-11  0:37     ` Andrii Nakryiko
2024-09-11 15:18       ` Masami Hiramatsu
2024-09-11 20:18         ` Andrii Nakryiko
2024-09-11 23:53           ` Masami Hiramatsu
2024-09-12 18:38             ` Andrii Nakryiko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).