diff options
author | Steve French <stfrench@microsoft.com> | 2024-07-24 11:57:18 -0500 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2024-07-26 12:34:41 -0500 |
commit | 6629f87b97e0740431b7b29b8dfdfa9d842c4bc5 (patch) | |
tree | 1cf262af97bc75e5a9e48a049d7e5b7d57def3f5 /fs/nls/nls_cp866.c | |
parent | 5779d398dbcd74c30a641c209946b8498e668a53 (diff) |
smb3: add four dynamic tracepoints for copy_file_range and reflink
Add more dynamic tracepoints to help debug copy_file_range (copychunk)
and clone_range ("duplicate extents"). These are tracepoints for
entering the function and completing without error. For example:
"trace-cmd record -e smb3_copychunk_enter -e smb3_copychunk_done"
or
"trace-cmd record -e smb3_clone_enter -e smb3_clone_done"
Here is sample output:
TASK-PID CPU# ||||| TIMESTAMP FUNCTION
| | | ||||| | |
cp-5964 [005] ..... 2176.168977: smb3_clone_enter:
xid=17 sid=0xeb275be4 tid=0x7ffa7cdb source fid=0x1ed02e15
source offset=0x0 target fid=0x1ed02e15 target offset=0x0
len=0xa0000
cp-5964 [005] ..... 2176.170668: smb3_clone_done:
xid=17 sid=0xeb275be4 tid=0x7ffa7cdb source fid=0x1ed02e15
source offset=0x0 target fid=0x1ed02e15 target offset=0x0
len=0xa0000
Reviewed-by: Shyam Prasad N <sprasad@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/nls/nls_cp866.c')
0 files changed, 0 insertions, 0 deletions