<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Hi,<br><br> Looking for a way to traverse the runqueue, so that I could get the contents of the runqueue. Initial reading tells that sched.h has ched_entity structure, which holds some of the data for it, like the <br><br>struct rb_node run_node;<br><br>Also read that redblack tree is used to hold the elements with "vruntime" as the index of it. <br><br>Could anyone give a way forward to doing this. <br>                                            </body>
</html>