sched/debug: Add sum_sleep_runtime to /proc/<pid>/sched
authorSrikar Dronamraju <srikar@linux.vnet.ibm.com>
Mon, 8 Jun 2015 08:10:41 +0000 (13:40 +0530)
committerIngo Molnar <mingo@kernel.org>
Fri, 19 Jun 2015 08:03:11 +0000 (10:03 +0200)
commit82a0d2762699b95d6ce4114d00dc1865df9b0df3
treec541740e50da09adc098390aacb5e58ea94b00f8
parentc5f3ab1c3b2e277cca6462415038dab02b4ad396
sched/debug: Add sum_sleep_runtime to /proc/<pid>/sched

When CONFIG_SCHEDSTATS is enabled, /proc/<pid>/sched prints almost all
sched statistics except sum_sleep_runtime. Since sum_sleep_runtime is
a good info to collect, add this it to /proc/<pid>/sched.

Signed-off-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1433751041-11724-4-git-send-email-srikar@linux.vnet.ibm.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/debug.c