On Wed, Jul 25, 2007 at 10:05:04AM +0200, Ingo Molnar wrote: > > * Ankita Garg <ankita@xxxxxxxxxx> wrote: > > > Hi, > > > > This patch adds support to display captured -rt stats under > > /proc/schedstat. > > hm, could you add it to /proc/sched_debug instead? That's where all the > runqueue values are showing up normally. I'm also a bit wary about > introducing a new schedstats version for -rt. So, I have merged my previous patch (to display rt_nr_running info in sched_debug.c) with this one. Signed-off-by: Ankita Garg <ankita@xxxxxxxxxx> -- sched_debug.c | 9 +++++++++ 1 file changed, 9 insertions(+) Index: linux-2.6.22.1/kernel/sched_debug.c =================================================================== --- linux-2.6.22.1.orig/kernel/sched_debug.c 2007-07-25 14:26:53.000000000 +0530 +++ linux-2.6.22.1/kernel/sched_debug.c 2007-07-25 14:58:07.000000000 +0530 @@ -161,6 +161,15 @@ P(cpu_load[2]); P(cpu_load[3]); P(cpu_load[4]); +#ifdef CONFIG_PREEMPT_RT + /* Print rt related rq stats */ + P(rt_nr_running); + P(rt_nr_uninterruptible); + P(rto_schedule); + P(rto_wakeup); + P(rto_pulled); +#endif + #undef P print_cfs_stats(m, cpu, now); -- 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-rt-users" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html