]> www.infradead.org Git - users/jedix/linux-maple.git/commit
rxrpc: Adjust the rxrpc_rtt_rx tracepoint
authorDavid Howells <dhowells@redhat.com>
Wed, 4 Dec 2024 07:46:55 +0000 (07:46 +0000)
committerJakub Kicinski <kuba@kernel.org>
Mon, 9 Dec 2024 21:48:30 +0000 (13:48 -0800)
commit93dfca65a1df42a3c8b1094299dc42ab8f18e5c8
treed58d742efa9a4c71f8e1cee6f17921bbc83d9e68
parentc637bd066841de6d0a204898a62f1d9bb8fa1b7f
rxrpc: Adjust the rxrpc_rtt_rx tracepoint

Adjust the rxrpc_rtt_rx tracepoint in the following ways:

 (1) Display the collected RTT sample in the rxrpc_rtt_rx trace.

 (2) Move the division of srtt by 8 to the TP_printk() rather doing it
     before invoking the trace point.

 (3) Display the min_rtt value.

Signed-off-by: David Howells <dhowells@redhat.com>
cc: Marc Dionne <marc.dionne@auristor.com>
cc: linux-afs@lists.infradead.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/trace/events/rxrpc.h
net/rxrpc/input.c
net/rxrpc/rtt.c