sched/debug: Replace vruntime with wait_sum in /proc/sched_debug
authorSrikar Dronamraju <srikar@linux.vnet.ibm.com>
Mon, 8 Jun 2015 08:10:40 +0000 (13:40 +0530)
committerIngo Molnar <mingo@kernel.org>
Fri, 19 Jun 2015 08:03:11 +0000 (10:03 +0200)
commitc5f3ab1c3b2e277cca6462415038dab02b4ad396
treeccfdcfb2331c5c2ee72de6565dcd8eb92c5a5c6c
parent33d6176eb12d1b0ae6d2f672b47367fd90726b91
sched/debug: Replace vruntime with wait_sum in /proc/sched_debug

Within runnable tasks in /proc/sched_debug, vruntime is printed twice,
once as tree-key and again as exec-runtime.

Since exec-runtime isnt populated in !CONFIG_SCHEDSTATS, use this field
to print wait_sum.

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-3-git-send-email-srikar@linux.vnet.ibm.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/debug.c