Thread (42 messages) 42 messages, 7 authors, 2024-07-02

Re: [PATCH 06/12] uprobes: add batch uprobe register/unregister APIs

From: Andrii Nakryiko <hidden>
Date: 2024-07-02 21:24:05
Also in: bpf

On Tue, Jul 2, 2024 at 9:53 AM Steven Rostedt [off-list ref] wrote:
On Wed, 3 Jul 2024 00:19:05 +0900
Masami Hiramatsu (Google) [off-list ref] wrote:
quoted
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).
Nice, I'd be happy to adjust batch API to work for that use case as
well (when we get there).
-- Steve
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help