SUNRPC: Trace struct svc_sock lifetime events
authorChuck Lever <chuck.lever@oracle.com>
Mon, 15 May 2023 13:33:00 +0000 (09:33 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 5 Jun 2023 13:01:42 +0000 (09:01 -0400)
commitc42bebca967da88c054ccb5ab152c9822c054662
treef456a6ddd58b212f334ec015b5d83514a09d458b
parentd7900daea0b9818cd1cbeb9c5bd94653c487b0e4
SUNRPC: Trace struct svc_sock lifetime events

Capture a timestamp and pointer address during the creation and
destruction of struct svc_sock to record its lifetime. This helps
to diagnose transport reference counting issues.

Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
include/trace/events/sunrpc.h
net/sunrpc/svcsock.c