<div>Hi,</div><div> </div><div>I want to print contents of runqueue of my current processor.</div><div>I got the pointer to current task_struct. </div><div> </div><div>To get runqueue, I called task_rq(). </div><div>When compiled the module, it gave an error.</div>
<div> </div><div>Actually struct runqueue and task_rq() is not in any header file. It is present in kernel/sched.c</div><div> </div><div>Is there any way to access this structure without making changes to kernel .<br>-- <br>
<span style="color: rgb(51, 51, 51);">Regards,</span><br>Kashish<br><br>
</div>