Re: [PATCH 06/12] uprobes: add batch uprobe register/unregister APIs
From: Steven Rostedt <rostedt@goodmis.org>
Date: 2024-07-02 16:53:22
Also in:
bpf
From: Steven Rostedt <rostedt@goodmis.org>
Date: 2024-07-02 16:53:22
Also in:
bpf
On Wed, 3 Jul 2024 00:19:05 +0900 Masami Hiramatsu (Google) [off-list ref] wrote:
quoted
BTW, is this (batched register/unregister APIs) something you'd like to use from the tracefs-based (or whatever it's called, I mean non-BPF ones) uprobes as well? Or there is just no way to even specify a batch of uprobes? Just curious if you had any plans for this.No, because current tracefs dynamic event interface is not designed for batched registration. I think we can expand it to pass wildcard symbols (for kprobe and fprobe) or list of addresses (for uprobes) for uprobe. Um, that maybe another good idea.
I don't see why not. The wild cards were added to the kernel specifically for the tracefs interface (set_ftrace_filter). -- Steve