Measuring context swap time

Xingyuan Chen eddie.xychen at gmail.com
Thu Jul 16 09:07:57 CDT 2009


Hi All,

I am a Linux kernel newbie. Now I want to write a kernel module that can
measure the context swap time between two processes using hrtimer.
How do I implement this?
More specifically,  how do I access different processes in kernel module.
I've read Linux kernel module programming guide but still don't have a clue.
Is there any other useful references on Linux kernel modules?

Any help will be greatly appreciated.

Eddie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://selenic.com/pipermail/kernel-mentors/attachments/20090716/00d2eefb/attachment.htm 


More information about the Kernel-mentors mailing list