diff options
author | Ingo Molnar <mingo@elte.hu> | 2007-10-15 17:00:10 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2007-10-15 17:00:10 +0200 |
commit | b8efb56172bc55082b8490778b07ef73eea0b551 (patch) | |
tree | 2d70e91af4cbd470904ebb4e28ad558c29e73092 /include/linux | |
parent | de8d585a12aef40676f12ddc63e97daaf7752ba1 (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/linux')
-rw-r--r-- | include/linux/sched.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index d0cc58311b1..920eb7354d0 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -621,6 +621,10 @@ struct sched_info { /* timestamps */ unsigned long long last_arrival,/* when we last ran on a cpu */ last_queued; /* when we were last queued to run */ +#ifdef CONFIG_SCHEDSTATS + /* BKL stats */ + unsigned long bkl_cnt; +#endif }; #endif /* defined(CONFIG_SCHEDSTATS) || defined(CONFIG_TASK_DELAY_ACCT) */ |