Hi,

    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

struct rb_node        run_node;

Also read that redblack tree is used to hold the elements with "vruntime" as the index of it.

Could anyone give a way forward to doing this.