[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1333444788.9072.9.camel@marge.simpson.net>
Date: Tue, 03 Apr 2012 11:19:48 +0200
From: Mike Galbraith <efault@....de>
To: Peter Zijlstra <a.p.zijlstra@...llo.nl>
Cc: LKML <linux-kernel@...r.kernel.org>
Subject: [patch] sched,rt: let the user see rt queues in /proc/sched_debug
ec514c48 made rt queues invisible in sched_debug, restore visibility.
Signed-off-by: Mike Galbraith <efault@....de>
---
kernel/sched/rt.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
--- a/kernel/sched/rt.c
+++ b/kernel/sched/rt.c
@@ -2079,11 +2079,10 @@ extern void print_rt_rq(struct seq_file
void print_rt_stats(struct seq_file *m, int cpu)
{
- rt_rq_iter_t iter;
struct rt_rq *rt_rq;
rcu_read_lock();
- for_each_rt_rq(rt_rq, iter, cpu_rq(cpu))
+ for_each_leaf_rt_rq(rt_rq, cpu_rq(cpu))
print_rt_rq(m, cpu, rt_rq);
rcu_read_unlock();
}
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists