• Steve French's avatar
    smb3: add dynamic trace point for ioctls · 073dd87c
    Steve French authored
    It can be helpful in debugging to know which ioctls are called to better
    correlate them with smb3 fsctls (and opens).  Add a dynamic trace point
    to trace ioctls into cifs.ko
    
    Here is sample output:
    
                TASK-PID     CPU#  |||||  TIMESTAMP  FUNCTION
                   | |         |   |||||     |         |
     new-inotify-ioc-90418   [001] ..... 142157.397024: smb3_ioctl: xid=18 fid=0x0 ioctl cmd=0xc009cf0b
     new-inotify-ioc-90457   [007] ..... 142217.943569: smb3_ioctl: xid=22 fid=0x389bf5b6 ioctl cmd=0xc009cf0b
    Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
    073dd87c
ioctl.c 14.5 KB