lkml.org 
[lkml]   [2012]   [Apr]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Subject[patch] sched,rt: let the user see rt queues in /proc/sched_debug
    From
    Date
    ec514c48 made rt queues invisible in sched_debug, restore visibility.

    Signed-off-by: Mike Galbraith <efault@gmx.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();
    }



    \
     
     \ /
      Last update: 2012-04-03 11:23    [W:0.020 / U:89.108 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site