diff options
author | Steve French <stfrench@microsoft.com> | 2019-02-27 04:26:20 +0100 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2019-03-06 01:10:13 +0100 |
commit | 53a3e0d96c708bca1607507ab2470a3c911c8c81 (patch) | |
tree | e3616cb3f75465ca70ed9aa04bdb26bc8fd76de5 /fs/cifs/trace.h | |
parent | smb3: improve dynamic tracing of open and posix mkdir (diff) | |
download | linux-53a3e0d96c708bca1607507ab2470a3c911c8c81.tar.xz linux-53a3e0d96c708bca1607507ab2470a3c911c8c81.zip |
smb3: add dynamic trace point for smb3_cmd_enter
Add tracepoint before sending an SMB3 command on the wire (ie add
an smb3_cmd_enter tracepoint). This allows us to look in much
more detail at response times (between request and response).
Signed-off-by: Steve French <stfrench@microsoft.com>
Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com>
Diffstat (limited to 'fs/cifs/trace.h')
-rw-r--r-- | fs/cifs/trace.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/cifs/trace.h b/fs/cifs/trace.h index b6352b68f18b..2a0be3e1927f 100644 --- a/fs/cifs/trace.h +++ b/fs/cifs/trace.h @@ -275,6 +275,7 @@ DEFINE_EVENT(smb3_cmd_done_class, smb3_##name, \ __u64 mid), \ TP_ARGS(tid, sesid, cmd, mid)) +DEFINE_SMB3_CMD_DONE_EVENT(cmd_enter); DEFINE_SMB3_CMD_DONE_EVENT(cmd_done); DEFINE_SMB3_CMD_DONE_EVENT(ses_expired); |