[RT] [PATCH 3/3] Update sched_debug with new RT related stats

From: Ankita Garg
Date: Sun Mar 23 2008 - 11:09:59 EST


Hi,

o Update sched_debug to print values of the recently added fields to
rt_rq.


Signed-off-by: Ankita Garg <ankita@xxxxxxxxxx>

Index: linux-2.6.24.3/kernel/sched_debug.c
===================================================================
--- linux-2.6.24.3.orig/kernel/sched_debug.c 2008-03-23 19:09:35.000000000 +0530
+++ linux-2.6.24.3/kernel/sched_debug.c 2008-03-23 19:47:52.000000000 +0530
@@ -188,8 +188,12 @@
P(cpu_load[4]);
#ifdef CONFIG_PREEMPT_RT
/* Print rt related rq stats */
+ SEQ_printf(m, "\nrt_rq\n");
P(rt.nr_running);
P(rt.nr_uninterruptible);
+ P(rt.nr_migratory);
+ P(rt.highest_prio);
+ P(rt.overloaded);
# ifdef CONFIG_SCHEDSTATS
P(rto_schedule);
P(rto_schedule_tail);

--
Regards,
Ankita Garg (ankita@xxxxxxxxxx)
Linux Technology Center
IBM India Systems & Technology Labs,
Bangalore, India
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/