aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2007-10-15 11:00:10 -0400
committerIngo Molnar <mingo@elte.hu>2007-10-15 11:00:10 -0400
commitb8efb56172bc55082b8490778b07ef73eea0b551 (patch)
tree2d70e91af4cbd470904ebb4e28ad558c29e73092 /include
parentde8d585a12aef40676f12ddc63e97daaf7752ba1 (diff)
sched debug: BKL usage statistics
add per task and per rq BKL usage statistics. Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/linux/sched.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index d0cc58311b13..920eb7354d0a 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -621,6 +621,10 @@ struct sched_info {
621 /* timestamps */ 621 /* timestamps */
622 unsigned long long last_arrival,/* when we last ran on a cpu */ 622 unsigned long long last_arrival,/* when we last ran on a cpu */
623 last_queued; /* when we were last queued to run */ 623 last_queued; /* when we were last queued to run */
624#ifdef CONFIG_SCHEDSTATS
625 /* BKL stats */
626 unsigned long bkl_cnt;
627#endif
624}; 628};
625#endif /* defined(CONFIG_SCHEDSTATS) || defined(CONFIG_TASK_DELAY_ACCT) */ 629#endif /* defined(CONFIG_SCHEDSTATS) || defined(CONFIG_TASK_DELAY_ACCT) */
626 630