1
0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2026-01-12 01:20:14 +00:00
Breno Leitao 0f08335ade trace: tcp: Add tracepoint for tcp_sendmsg_locked()
Add a tracepoint to monitor TCP send operations, enabling detailed
visibility into TCP message transmission.

Create a new tracepoint within the tcp_sendmsg_locked function,
capturing traditional fields along with size_goal, which indicates the
optimal data size for a single TCP segment. Additionally, a reference to
the struct sock sk is passed, allowing direct access for BPF programs.
The implementation is largely based on David's patch[1] and suggestions.

Link: https://lore.kernel.org/all/70168c8f-bf52-4279-b4c4-be64527aa1ac@kernel.org/ [1]
Signed-off-by: Breno Leitao <leitao@debian.org>
Reviewed-by: David Ahern <dsahern@kernel.org>
Reviewed-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20250408-tcpsendmsg-v3-2-208b87064c28@debian.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-04-10 18:34:05 -07:00
..
2025-04-08 12:15:05 -07:00
2025-03-24 21:18:05 -07:00
2025-03-30 15:44:36 -07:00
2025-03-31 13:37:22 -07:00
2025-03-27 19:22:24 -07:00
2025-04-08 12:51:34 -07:00
2025-03-30 15:44:36 -07:00
2025-03-25 14:47:04 -07:00
2025-02-10 16:56:58 -08:00
2024-11-03 01:28:06 -05:00
2025-03-24 13:39:27 -07:00
2025-04-02 16:05:21 -07:00
2025-01-28 11:34:03 -08:00
2025-03-29 11:59:43 -07:00
2024-11-03 01:28:06 -05:00
2025-02-12 12:12:27 +01:00
2025-03-24 09:52:37 -07:00
2025-03-25 10:54:15 -07:00