Simple scripting and kernel changes...
Hello i am a beginner at linux programming and i am trying to do simple tasks to see how the code responds.
I i want to test the performance of ext2/ext3/fat32 by puting a printk in the open() close() read() and write() files so i can count the time and append it in a log file of my own.
Now does anybody know:
1)Where is the best place in the code of say open to start and stop the time counting?
2)How can i recognize the open's and close's that are the result of my script (which performs say 100 open of files and 50 closes) from those that the system does and come form other processes than my own. Any ideas how i can make mine look different in the log file.
Thnx for any help people