Skip to content

Commit aadf9dc

Browse files
committed
rxrpc: Fix trace string
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: b54a134 ("rxrpc: Fix handling of enums-to-string translation in tracing") Signed-off-by: David Howells <[email protected]>
1 parent b9d37bb commit aadf9dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/trace/events/rxrpc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ enum rxrpc_tx_point {
400400
EM(rxrpc_cong_begin_retransmission, " Retrans") \
401401
EM(rxrpc_cong_cleared_nacks, " Cleared") \
402402
EM(rxrpc_cong_new_low_nack, " NewLowN") \
403-
EM(rxrpc_cong_no_change, "") \
403+
EM(rxrpc_cong_no_change, " -") \
404404
EM(rxrpc_cong_progress, " Progres") \
405405
EM(rxrpc_cong_retransmit_again, " ReTxAgn") \
406406
EM(rxrpc_cong_rtt_window_end, " RttWinE") \

0 commit comments

Comments
 (0)