summaryrefslogtreecommitdiff
path: root/fs/cifs/trace.h
diff options
context:
space:
mode:
authorSteve French <stfrench@microsoft.com>2022-05-22 07:56:16 +0300
committerSteve French <stfrench@microsoft.com>2022-05-22 07:56:16 +0300
commitfb253d5ba3fcbd3b4216bcc37d019926f5e32ebb (patch)
treebf869c69939bcd87dfddd165d3ece529367dddd3 /fs/cifs/trace.h
parentfb64f7f1057e5eb6fbf3b06f92d1cd80ad7f9998 (diff)
downloadlinux-fb253d5ba3fcbd3b4216bcc37d019926f5e32ebb.tar.xz
smb3: add trace point for lease not found issue
When trying to debug problems with server sending us a lease we don't recognize, it would be helpful to have a dynamic trace point for this case. New tracepoint is called trace_smb3_lease_not_found Acked-by: Ronnie Sahlberg <lsahlber@redhat.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/trace.h')
-rw-r--r--fs/cifs/trace.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/cifs/trace.h b/fs/cifs/trace.h
index bc279616c513..09d3dfed86d9 100644
--- a/fs/cifs/trace.h
+++ b/fs/cifs/trace.h
@@ -814,6 +814,7 @@ DEFINE_EVENT(smb3_lease_done_class, smb3_##name, \
TP_ARGS(lease_state, tid, sesid, lease_key_low, lease_key_high))
DEFINE_SMB3_LEASE_DONE_EVENT(lease_done);
+DEFINE_SMB3_LEASE_DONE_EVENT(lease_not_found);
DECLARE_EVENT_CLASS(smb3_lease_err_class,
TP_PROTO(__u32 lease_state,