login
Header Space

 
 

How to get all Names of File opened in the system

April 16, 2008 - 10:49pm
Submitted by Anonymous on April 16, 2008 - 10:49pm.
Linux

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

April 27, 2008 - 5:05am
Anonymous (not verified)

If you have a struct file *, you can use d_path() to get the path that was used for the inode.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
speck-geostationary