summaryrefslogtreecommitdiffstats
path: root/fs/cifs/trace.h
diff options
context:
space:
mode:
authorSteve French <stfrench@microsoft.com>2018-07-30 21:23:58 +0200
committerSteve French <stfrench@microsoft.com>2018-08-07 21:15:57 +0200
commite68a932b0b8e38eaa2111fc3aab31ff66988f1c4 (patch)
tree34f8d99755bc1121eebbdda32fae1af5ec51a071 /fs/cifs/trace.h
parentcifs: remove unused stats (diff)
downloadlinux-e68a932b0b8e38eaa2111fc3aab31ff66988f1c4.tar.xz
linux-e68a932b0b8e38eaa2111fc3aab31ff66988f1c4.zip
smb3: add tracepoint for session expired or deleted
In debugging reconnection problems, want to be able to more easily trace cases in which the server has marked the SMB3 session expired or deleted (to distinguish from timeout cases). Signed-off-by: Steve French <stfrench@microsoft.com> Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.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 67e413f6ee4d..0fdf2f5c07ba 100644
--- a/fs/cifs/trace.h
+++ b/fs/cifs/trace.h
@@ -281,6 +281,7 @@ DEFINE_EVENT(smb3_cmd_done_class, smb3_##name, \
TP_ARGS(tid, sesid, cmd, mid))
DEFINE_SMB3_CMD_DONE_EVENT(cmd_done);
+DEFINE_SMB3_CMD_DONE_EVENT(ses_expired);
DECLARE_EVENT_CLASS(smb3_exit_err_class,
TP_PROTO(unsigned int xid,