Thread (15 messages) 15 messages, 5 authors, 2025-09-21

Re: [RFC PATCH bpf-next v1 0/3] bpf: Add BPF program type for overriding tracepoint probes

From: Steven Rostedt <rostedt@goodmis.org>
Date: 2025-09-18 15:31:34
Also in: bpf, linux-kselftest, lkml

On Thu, 18 Sep 2025 21:15:57 +0800
Fuyu Zhao [off-list ref] wrote:
As for the reason not to unregister and register a new callback:
callbacks registered directly inside the kernel cannot be unregistered from
user space. From user space, we can only attach additional callbacks
with BPF programs, but can not remove or replace the ones already
registered in the kernel. Therefore, an override mechanism is needed.
The fact that user space cannot unregister or override the current
callbacks, to me is a feature and not a bug.

-- 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