diff options
author | David Howells <dhowells@redhat.com> | 2022-10-21 13:39:34 +0100 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2022-12-01 13:36:38 +0000 |
commit | 47c810a79844462d3468d831edc00971757693e0 (patch) | |
tree | 631be82379497ed224fa4038faa9920e9a0f34c3 /net/rxrpc/af_rxrpc.c | |
parent | 0fde882fc9ee9cc2e66e8c5a5a93c83932d7ca95 (diff) | |
download | linux-47c810a79844462d3468d831edc00971757693e0.tar.gz linux-47c810a79844462d3468d831edc00971757693e0.tar.bz2 linux-47c810a79844462d3468d831edc00971757693e0.zip |
rxrpc: trace: Don't use __builtin_return_address for rxrpc_peer tracing
In rxrpc tracing, use enums to generate lists of points of interest rather
than __builtin_return_address() for the rxrpc_peer tracepoint
Signed-off-by: David Howells <dhowells@redhat.com>
cc: Marc Dionne <marc.dionne@auristor.com>
cc: linux-afs@lists.infradead.org
Diffstat (limited to 'net/rxrpc/af_rxrpc.c')
-rw-r--r-- | net/rxrpc/af_rxrpc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/rxrpc/af_rxrpc.c b/net/rxrpc/af_rxrpc.c index 989ebca899f3..7a0dc01741e7 100644 --- a/net/rxrpc/af_rxrpc.c +++ b/net/rxrpc/af_rxrpc.c @@ -328,7 +328,7 @@ struct rxrpc_call *rxrpc_kernel_begin_call(struct socket *sock, mutex_unlock(&call->user_mutex); } - rxrpc_put_peer(cp.peer); + rxrpc_put_peer(cp.peer, rxrpc_peer_put_discard_tmp); _leave(" = %p", call); return call; } |