Re: [PATCH net-next] udp: Add tracepoint for udp_sendmsg()

David Ahern
2025-04-16T23:16:27Z

On 4/16/25 1:23 PM, Breno Leitao wrote:
> diff --git a/net/ipv4/udp.c b/net/ipv4/udp.c
> index f9f5b92cf4b61..8c2902504a399 100644
> --- a/net/ipv4/udp.c
> +++ b/net/ipv4/udp.c
> @@ -1345,6 +1345,8 @@ int udp_sendmsg(struct sock *sk, struct msghdr *msg, size_t len)
> connected = 1;
> }
>
> + trace_udp_sendmsg_tp(sk, msg);

why `_tp` suffix? the usual naming is trace_${func}