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

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: linux-rt-users <linux-rt-users@...>, LKML <linux-kernel@...>, Ingo Molnar <mingo@...>, Gregory Haskins <ghaskins@...>, Steven Rostedt <rostedt@...>, Peter Zijlstra <a.p.zijlstra@...>
Date: Sunday, March 23, 2008 - 11:09 am

Hi,

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


Signed-off-by: Ankita Garg <ankita@in.ibm.com> 

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@in.ibm.com)
Linux Technology Center
IBM India Systems & Technology Labs, 
Bangalore, India   
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RT] [PATCH 3/3] Update sched_debug with new RT related stats, Ankita Garg, (Sun Mar 23, 11:09 am)
[RT] [PATCH 1/3] Change the names of rt_rq fields for, Ankita Garg, (Sun Mar 23, 10:52 am)