]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit987db9f7cd1e77e611b770a569068c43949aa6fd
tree4f12ded10be28d09c8968552d2dfab684f1a3c3e
parentb311e68420aa52098591988d0d6868b0b7463c0f
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