Re: [PATCH net-next] udp: Add tracepoints to monitor skbs going in and out of a UDP socket

From: David Ahern
Date: Thu Oct 04 2018 - 12:36:20 EST


On 10/4/18 2:30 AM, David Howells wrote:
> Add three tracepoints to the UDP/UDP6 code to trace three aspects of
> sk_buff handling:
>
> (1) UDP packets that are about to be handed off to the IP layer to be
> transmitted.
>
> (2) UDP packets that have just arrived at the socket.

These do not add any real value. You are only dumping the skb address,
and you can get the same effect with a probe on the function and dumping
the value of the register with the skb argument.