Query on vfs interface
Raghavendra G
raghavendra.g at stericsson.com
Fri Dec 21 01:34:30 EST 2012
Hello
I am trying to log all the calls going to the VFS file system from the application.
For write calls I notice an anomaly. I introduced a log at the vfs_write() function , I see it get's logged twice for every write in the log output.
I also tried do_sync_write() the result is same.
Time stamp VFS Action filename Size time taken(us)
626.212738
OPEN
/data/media/DCIM/Camera/VID_20000101_002412.mp4.tmp
flags=131585
mode =0
628.187652
WRITE
VID_20000101_002412.mp4.tmp
101606
611
628.187713
WRITE
VID_20000101_002412.mp4.tmp
101606
1160
628.188995
WRITE
VID_20000101_002412.mp4.tmp
69782
457
628.189056
WRITE
VID_20000101_002412.mp4.tmp
69782
885
Any clue why this anomaly ?
Warm Regards
Raghavendra G
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20121221/a2645e8e/attachment-0001.html
More information about the Kernelnewbies
mailing list