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