]> git.baikalelectronics.ru Git - kernel.git/commit
rxrpc: Use the tx-phase skb flag to simplify tracing
authorDavid Howells <dhowells@redhat.com>
Mon, 19 Aug 2019 08:25:38 +0000 (09:25 +0100)
committerDavid Howells <dhowells@redhat.com>
Tue, 27 Aug 2019 09:04:18 +0000 (10:04 +0100)
commit988770fd3c02fa43ca3e8a2ff334b85c6d3e3149
tree4f12ded10be28d09c8968552d2dfab684f1a3c3e
parentb49b0f72a2dbc610a0c307b7d832ce12d1a55046
rxrpc: Use the tx-phase skb flag to simplify tracing

Use the previously-added transmit-phase skbuff private flag to simplify the
socket buffer tracing a bit.  Which phase the skbuff comes from can now be
divined from the skb rather than having to be guessed from the call state.

We can also reduce the number of rxrpc_skb_trace values by eliminating the
difference between Tx and Rx in the symbols.

Signed-off-by: David Howells <dhowells@redhat.com>
12 files changed:
include/trace/events/rxrpc.h
net/rxrpc/ar-internal.h
net/rxrpc/call_event.c
net/rxrpc/call_object.c
net/rxrpc/conn_event.c
net/rxrpc/input.c
net/rxrpc/local_event.c
net/rxrpc/output.c
net/rxrpc/peer_event.c
net/rxrpc/recvmsg.c
net/rxrpc/sendmsg.c
net/rxrpc/skbuff.c