sched/debug: Add load-tracking statistics to task
authorKamalesh Babulal <kamalesh@linux.vnet.ibm.com>
Tue, 25 Jun 2013 08:03:36 +0000 (13:33 +0530)
committerIngo Molnar <mingo@kernel.org>
Thu, 27 Jun 2013 08:07:46 +0000 (10:07 +0200)
commit939fd731eb88a0cdd9058d0b0143563172a217d7
tree5207af4b258f42102260c0b3fbd76752d6e2f071
parenta9dc5d0e33c677619e4b97a38c23db1a42857905
sched/debug: Add load-tracking statistics to task

At present we print per-entity load-tracking statistics for
cfs_rq of cgroups/runqueues. Given that per task statistics
is maintained, it can be used to know the contribution made
by the task to its parenting cfs_rq level.

This patch adds per-task load-tracking statistics to /proc/<PID>/sched.

Signed-off-by: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20130625080336.GA20175@linux.vnet.ibm.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/debug.c