print contents of runqueue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux