Hello all,
How can I get amount of bytes written using kprobe. I can get amount of bytes read since I can intercept sys_read calls; but sys_write symbols are not exported.
Is there any other way, i can get amount of the bytes written ?
Thanks.
Michael
/topic
If you have a struct file *, you can use d_path() to get the path that was used for the inode.