lkml.org 
[lkml]   [2016]   [Oct]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[RFC PATCH] sched/deadline: show leftover runtime and abs deadline in /proc/*/sched
    Date
    From: Tommaso Cucinotta <tommaso@lyx.org>

    ---
    kernel/sched/debug.c | 4 ++++
    1 file changed, 4 insertions(+)

    diff --git a/kernel/sched/debug.c b/kernel/sched/debug.c
    index fa178b6..109adc0 100644
    --- a/kernel/sched/debug.c
    +++ b/kernel/sched/debug.c
    @@ -953,6 +953,10 @@ void proc_sched_show_task(struct task_struct *p, struct seq_file *m)
    #endif
    P(policy);
    P(prio);
    + if (p->policy == SCHED_DEADLINE) {
    + P(dl.runtime);
    + P(dl.deadline);
    + }
    #undef PN_SCHEDSTAT
    #undef PN
    #undef __PN
    --
    2.7.4
    \
     
     \ /
      Last update: 2016-10-25 01:34    [W:2.385 / U:0.248 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site