<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
There might be an example in kprobes or systemTap that you can follow.<br><br><br>Cheers,<br><br><hr id="stopSpelling">Date: Thu, 16 Jul 2009 10:07:57 -0400<br>Subject: Measuring context swap time<br>From: eddie.xychen@gmail.com<br>To: kernel-mentors@selenic.com<br><br>Hi All,<br><br>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.<br>How do I implement this?<br>More specifically,&nbsp; how do I access different processes in kernel module. I've read Linux kernel module programming guide but still don't have a clue.<br>
Is there any other useful references on Linux kernel modules?<br><br>Any help will be greatly appreciated.<br><br>Eddie<br><br><br><br /><hr />check out the rest of the Windows Live™.
More than mail–Windows Live™ goes way beyond your inbox.
 <a href='http://www.microsoft.com/windows/windowslive/' target='_new'>More than messages</a></body>
</html>