Hi all, I have to do a homework with Linux kernel. 1) I have to split the Linux kernel in modules (ex. scheduler, device drivers, file systems). Find the interfaces between these modules and include counters to verify how these modules are called. 2) Implement a mini device driver for reading these counters (with /proc). 3) Test kernel performance with diverses loads (static pages, CGIs, ftp transfers, kernel compilation). 4) Use the Pentium/Pentium Pro counters to gain information more fine about the execution time.
I dont know how to start. :) I remember there is a file in Linux kernel with all Linux kernel calls. Pehaps, I can put the counters there or in the scheduler (every time it was called, I add one in the specific counter). Oh. I'm lost. Can someone point some directions for me? Thanks, Paulo Henrique