diff options
author | David Howells <dhowells@redhat.com> | 2016-09-17 05:49:13 -0400 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2016-09-17 06:24:03 -0400 |
commit | a3868bfc8d5b0f36c784deab644ee1d2b0e6974b (patch) | |
tree | 097f6a0fc63e8e939087f05f6ac2365c244a214b /net | |
parent | 182f50562490e5861afaa7a2e42dcc0dd9dcfcca (diff) |
rxrpc: Print the packet type name in the Rx packet trace
Print a symbolic packet type name for each valid received packet in the
trace output, not just a number.
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/rxrpc/ar-internal.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/rxrpc/ar-internal.h b/net/rxrpc/ar-internal.h index e78c40b37db5..0f6fafa2c271 100644 --- a/net/rxrpc/ar-internal.h +++ b/net/rxrpc/ar-internal.h | |||
@@ -551,6 +551,9 @@ enum rxrpc_call_trace { | |||
551 | 551 | ||
552 | extern const char rxrpc_call_traces[rxrpc_call__nr_trace][4]; | 552 | extern const char rxrpc_call_traces[rxrpc_call__nr_trace][4]; |
553 | 553 | ||
554 | extern const char *const rxrpc_pkts[]; | ||
555 | extern const char *rxrpc_acks(u8 reason); | ||
556 | |||
554 | #include <trace/events/rxrpc.h> | 557 | #include <trace/events/rxrpc.h> |
555 | 558 | ||
556 | /* | 559 | /* |
@@ -851,11 +854,8 @@ extern unsigned int rxrpc_rx_mtu; | |||
851 | extern unsigned int rxrpc_rx_jumbo_max; | 854 | extern unsigned int rxrpc_rx_jumbo_max; |
852 | extern unsigned int rxrpc_resend_timeout; | 855 | extern unsigned int rxrpc_resend_timeout; |
853 | 856 | ||
854 | extern const char *const rxrpc_pkts[]; | ||
855 | extern const s8 rxrpc_ack_priority[]; | 857 | extern const s8 rxrpc_ack_priority[]; |
856 | 858 | ||
857 | extern const char *rxrpc_acks(u8 reason); | ||
858 | |||
859 | /* | 859 | /* |
860 | * output.c | 860 | * output.c |
861 | */ | 861 | */ |