Just check out the OProfile....I believe this performs the similar thing what you want to do with your profiler. http://oprofile.sourceforge.net/about/ -- Regards, Gaurav Aggarwal -----Original Message----- From: kernelnewbies-bounce@xxxxxxxxxxxx [mailto:kernelnewbies-bounce@xxxxxxxxxxxx] On Behalf Of Rohit Sharma Sent: Monday, August 11, 2008 1:29 PM To: Kernelnewbies Subject: Kernel Module Profiling I am trying to build my own profiler for kernel module, I have thought of creating a deamon that will profile any kernel module that is invoked, by monitoring the resources like memory usage, time stamp, etc, at that time. Deamon will be invoked when inserting our module with insmod -d And i don't want to change the module source code. Can anyone suggest me another alternative. -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ