[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1477348374-8248-2-git-send-email-tommaso.cucinotta@sssup.it>
Date: Tue, 25 Oct 2016 00:32:54 +0200
From: Tommaso Cucinotta <tommaso.cucinotta@...up.it>
To: Luca Abeni <luca.abeni@...tn.it>,
Juri Lelli <juri.lelli@...il.com>,
Peter Zijlstra <peterz@...radead.org>
Cc: linux-kernel@...r.kernel.org, linux-dl@...is.sssup.it,
Tommaso Cucinotta <tommaso.cucinotta@...up.it>,
Daniel Bistrot de Oliveira <danielbristot@...il.com>,
Tommaso Cucinotta <tommaso@....org>
Subject: [RFC PATCH] sched/deadline: show leftover runtime and abs deadline in /proc/*/sched
From: Tommaso Cucinotta <tommaso@....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
Powered by blists - more mailing lists