summaryrefslogtreecommitdiff
path: root/fs/cifs/trace.h
diff options
context:
space:
mode:
authorSteve French <stfrench@microsoft.com>2019-03-10 05:29:55 +0300
committerSteve French <stfrench@microsoft.com>2019-03-15 03:32:35 +0300
commit7937ca961c847bda8a75da5d9c34efee9602f6b5 (patch)
tree62979d8e679d6800dc3f71c8352ef175733732bf /fs/cifs/trace.h
parentffd1ef1e50727e96e360e871b89aa8cf329935f7 (diff)
downloadlinux-7937ca961c847bda8a75da5d9c34efee9602f6b5.tar.xz
smb3: add dynamic tracepoint for timeout waiting for credits
To help debug credit starvation problems where we timeout waiting for server to grant the client credits. Signed-off-by: Steve French <stfrench@microsoft.com> Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com> Reviewed-by: Pavel Shilovsky <pshilov@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 d8b049afa606..c78e96c4cc53 100644
--- a/fs/cifs/trace.h
+++ b/fs/cifs/trace.h
@@ -713,6 +713,7 @@ DEFINE_EVENT(smb3_credit_class, smb3_##name, \
TP_ARGS(currmid, hostname, credits))
DEFINE_SMB3_CREDIT_EVENT(reconnect_with_invalid_credits);
+DEFINE_SMB3_CREDIT_EVENT(credit_timeout);
#endif /* _CIFS_TRACE_H */