From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Ahern Subject: Re: [PATCH net-next] udp: Add tracepoints to monitor skbs going in and out of a UDP socket Date: Thu, 4 Oct 2018 10:36:15 -0600 Message-ID: References: <153864184110.20296.16498481420320274305.stgit@warthog.procyon.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: linux-afs@lists.infradead.org, linux-kernel@vger.kernel.org To: David Howells , netdev@vger.kernel.org Return-path: In-Reply-To: <153864184110.20296.16498481420320274305.stgit@warthog.procyon.org.uk> Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org 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.