Measuring context swap time

Vaughn Clinton vclinton at msn.com
Thu Jul 16 09:09:38 CDT 2009


There might be an example in kprobes or systemTap that you can follow.


Cheers,

Date: Thu, 16 Jul 2009 10:07:57 -0400
Subject: Measuring context swap time
From: eddie.xychen at gmail.com
To: kernel-mentors at selenic.com

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



_________________________________________________________________
More than messages–check out the rest of the Windows Live™.
http://www.microsoft.com/windows/windowslive/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://selenic.com/pipermail/kernel-mentors/attachments/20090716/d1d6efa3/attachment.htm 


More information about the Kernel-mentors mailing list