summaryrefslogtreecommitdiffstats
path: root/include/trace
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2020-06-17 22:50:33 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-07-22 09:32:13 +0200
commitd3fa6917aa57b3bca4c5afd08ec9b0c3323b579b (patch)
treecf76fe98caa46a5dae5d9a43d67212cc2d40599a /include/trace
parent4cb7718803af0c615b8d71d17e64b83759930c35 (diff)
downloadlinux-stable-d3fa6917aa57b3bca4c5afd08ec9b0c3323b579b.tar.gz
linux-stable-d3fa6917aa57b3bca4c5afd08ec9b0c3323b579b.tar.bz2
linux-stable-d3fa6917aa57b3bca4c5afd08ec9b0c3323b579b.zip
rxrpc: Fix trace string
commit aadf9dcef9d4cd68c73a4ab934f93319c4becc47 upstream. The trace symbol printer (__print_symbolic()) ignores symbols that map to an empty string and prints the hex value instead. Fix the symbol for rxrpc_cong_no_change to " -" instead of "" to avoid this. Fixes: b54a134a7de4 ("rxrpc: Fix handling of enums-to-string translation in tracing") Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/trace')
-rw-r--r--include/trace/events/rxrpc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/trace/events/rxrpc.h b/include/trace/events/rxrpc.h
index bc5b232440b6..ca29a5b8603c 100644
--- a/include/trace/events/rxrpc.h
+++ b/include/trace/events/rxrpc.h
@@ -408,7 +408,7 @@ enum rxrpc_tx_point {
EM(rxrpc_cong_begin_retransmission, " Retrans") \
EM(rxrpc_cong_cleared_nacks, " Cleared") \
EM(rxrpc_cong_new_low_nack, " NewLowN") \
- EM(rxrpc_cong_no_change, "") \
+ EM(rxrpc_cong_no_change, " -") \
EM(rxrpc_cong_progress, " Progres") \
EM(rxrpc_cong_retransmit_again, " ReTxAgn") \
EM(rxrpc_cong_rtt_window_end, " RttWinE") \