diff mbox

[2/2] sched: add statistic for rq->max_idle_balance_cost

Message ID 1390282399-17091-2-git-send-email-alex.shi@linaro.org
State New
Headers show

Commit Message

Alex Shi Jan. 21, 2014, 5:33 a.m. UTC
It's useful to track this value in debug mode.

Signed-off-by: Alex Shi <alex.shi@linaro.org>
---
 kernel/sched/debug.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

diff --git a/kernel/sched/debug.c b/kernel/sched/debug.c
index 1e43e70..f5c529a 100644
--- a/kernel/sched/debug.c
+++ b/kernel/sched/debug.c
@@ -315,6 +315,7 @@  do {									\
 	P(sched_goidle);
 #ifdef CONFIG_SMP
 	P64(avg_idle);
+	p64(max_idle_balance_cost);
 #endif
 
 	P(ttwu_count);