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

From
Breno Leitao <leitao@debian.org>
Date
2025-02-27 16:26:13
Also in
lkml, netdev
Reply to
David Ahern, 2025-02-26
On Wed, Feb 26, 2025 at 11:31:49AM -0700, David Ahern wrote:
On 2/26/25 11:27 AM, Eric Dumazet wrote:
quoted
In 2022, Menglong Dong added __fix_address

Then later , Yafang Shao  added noinline_for_tracing .

Would one of them be sufficient ?
tcp_sendmsg_locked should not be getting inlined; it is the
sendmsg_locked handler and directly called by several subsystems.

ie., moving the tracepoint to tcp_sendmsg_locked should solve the inline
problem. From there, the question is inside the loop or at entry to the
function. Inside the loop has been very helpful for me.
Inside the loop would work for me as well.
Thread (18 messages) 18 messages, 7 authors, last reply 2025-04-03
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help