提交 83836eb4 编写于 作者: D David Howells

rxrpc: Change rx_packet tracepoint to display securityIndex not type twice

Change the rx_packet tracepoint to display the securityIndex from the
packet header instead of displaying the type in numeric form.  There's no
need for the latter, as the display of the type in symbolic form will fall
back automatically to displaying the hex value if no symbol is available.
Signed-off-by: NDavid Howells <dhowells@redhat.com>
cc: Marc Dionne <marc.dionne@auristor.com>
cc: linux-afs@lists.infradead.org
上级 f20fe3ff
...@@ -752,9 +752,8 @@ TRACE_EVENT(rxrpc_rx_packet, ...@@ -752,9 +752,8 @@ TRACE_EVENT(rxrpc_rx_packet,
__entry->hdr.epoch, __entry->hdr.cid, __entry->hdr.epoch, __entry->hdr.cid,
__entry->hdr.callNumber, __entry->hdr.serviceId, __entry->hdr.callNumber, __entry->hdr.serviceId,
__entry->hdr.serial, __entry->hdr.seq, __entry->hdr.serial, __entry->hdr.seq,
__entry->hdr.type, __entry->hdr.flags, __entry->hdr.securityIndex, __entry->hdr.flags,
__entry->hdr.type <= 15 ? __print_symbolic(__entry->hdr.type, rxrpc_pkts))
__print_symbolic(__entry->hdr.type, rxrpc_pkts) : "?UNK")
); );
TRACE_EVENT(rxrpc_rx_done, TRACE_EVENT(rxrpc_rx_done,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册