rxrpc: Actually display the tx_data trace retransmission note
authorDavid Howells <dhowells@redhat.com>
Fri, 30 Sep 2016 07:50:42 +0000 (08:50 +0100)
committerDavid Howells <dhowells@redhat.com>
Fri, 30 Sep 2016 07:51:14 +0000 (08:51 +0100)
Actually display in the tx_data trace the retransmission note added in a
previous patch.

Signed-off-by: David Howells <dhowells@redhat.com>
include/trace/events/rxrpc.h

index 8ba8d76e856ad60e04845154e0e0301b818db6c4..67f03946ea4a374edf2e1b20159f54dd9e2304fb 100644 (file)
@@ -280,11 +280,12 @@ TRACE_EVENT(rxrpc_tx_data,
                    __entry->lose = lose;
                           ),
 
-           TP_printk("c=%p DATA %08x q=%08x fl=%02x%s",
+           TP_printk("c=%p DATA %08x q=%08x fl=%02x%s%s",
                      __entry->call,
                      __entry->serial,
                      __entry->seq,
                      __entry->flags,
+                     __entry->retrans ? " *RETRANS*" : "",
                      __entry->lose ? " *LOSE*" : "")
            );