Thread (15 messages) 15 messages, 4 authors, 2025-01-24

Re: [PATCH RFC net-next] trace: tcp: Add tracepoint for tcp_cwnd_reduction()

From: Steven Rostedt <rostedt@goodmis.org>
Date: 2025-01-20 15:03:44
Also in: lkml, netdev

On Mon, 20 Jan 2025 05:20:05 -0800
Breno Leitao [off-list ref] wrote:
This patch enhances the API's stability by introducing a guaranteed hook
point, allowing the compiler to make changes without disrupting the
BPF program's functionality.
Instead of using a TRACE_EVENT() macro, you can use DECLARE_TRACE()
which will create the tracepoint in the kernel, but will not create a
trace event that is exported to the tracefs file system. Then BPF could
hook to it and it will still not be exposed as an user space API.

You can see its use in include/trace/events/sched.h

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