提交 76b55277 编写于 作者: D David Howells 提交者: Greg Kroah-Hartman

rxrpc: Fix rxrpc_recvmsg tracepoint

[ Upstream commit db9b2e0af605e7c994784527abfd9276cabd718a ]

Fix the rxrpc_recvmsg tracepoint to handle being called with a NULL call
parameter.

Fixes: a25e21f0 ("rxrpc, afs: Use debug_ids rather than pointers in traces")
Signed-off-by: NDavid Howells <dhowells@redhat.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 7047aae6
...@@ -1073,7 +1073,7 @@ TRACE_EVENT(rxrpc_recvmsg, ...@@ -1073,7 +1073,7 @@ TRACE_EVENT(rxrpc_recvmsg,
), ),
TP_fast_assign( TP_fast_assign(
__entry->call = call->debug_id; __entry->call = call ? call->debug_id : 0;
__entry->why = why; __entry->why = why;
__entry->seq = seq; __entry->seq = seq;
__entry->offset = offset; __entry->offset = offset;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册