aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched_debug.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2007-10-15 11:00:12 -0400
committerIngo Molnar <mingo@elte.hu>2007-10-15 11:00:12 -0400
commit2d72376b3af1e7d4d4515ebfd0f4383f2e92c343 (patch)
treea9f36173883f1309640f3a1e58b03a53422262d8 /kernel/sched_debug.c
parent2b1e315dd2822c99793485f9e53a73459fb399c1 (diff)
sched: clean up schedstats, cnt -> count
rename all 'cnt' fields and variables to the less yucky 'count' name. yuckage noticed by Andrew Morton. no change in code, other than the /proc/sched_debug bkl_count string got a bit larger: text data bss dec hex filename 38236 3506 24 41766 a326 sched.o.before 38240 3506 24 41770 a32a sched.o.after Signed-off-by: Ingo Molnar <mingo@elte.hu> Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/sched_debug.c')
-rw-r--r--kernel/sched_debug.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/kernel/sched_debug.c b/kernel/sched_debug.c
index 4659c90c3418..be79cd6d9e80 100644
--- a/kernel/sched_debug.c
+++ b/kernel/sched_debug.c
@@ -137,8 +137,8 @@ void print_cfs_rq(struct seq_file *m, int cpu, struct cfs_rq *cfs_rq)
137 SEQ_printf(m, " .%-30s: %ld\n", "nr_running", cfs_rq->nr_running); 137 SEQ_printf(m, " .%-30s: %ld\n", "nr_running", cfs_rq->nr_running);
138 SEQ_printf(m, " .%-30s: %ld\n", "load", cfs_rq->load.weight); 138 SEQ_printf(m, " .%-30s: %ld\n", "load", cfs_rq->load.weight);
139#ifdef CONFIG_SCHEDSTATS 139#ifdef CONFIG_SCHEDSTATS
140 SEQ_printf(m, " .%-30s: %ld\n", "bkl_cnt", 140 SEQ_printf(m, " .%-30s: %ld\n", "bkl_count",
141 rq->bkl_cnt); 141 rq->bkl_count);
142#endif 142#endif
143 SEQ_printf(m, " .%-30s: %ld\n", "nr_spread_over", 143 SEQ_printf(m, " .%-30s: %ld\n", "nr_spread_over",
144 cfs_rq->nr_spread_over); 144 cfs_rq->nr_spread_over);
@@ -342,7 +342,7 @@ void proc_sched_show_task(struct task_struct *p, struct seq_file *m)
342 PN(se.exec_max); 342 PN(se.exec_max);
343 PN(se.slice_max); 343 PN(se.slice_max);
344 PN(se.wait_max); 344 PN(se.wait_max);
345 P(sched_info.bkl_cnt); 345 P(sched_info.bkl_count);
346#endif 346#endif
347 SEQ_printf(m, "%-25s:%20Ld\n", 347 SEQ_printf(m, "%-25s:%20Ld\n",
348 "nr_switches", (long long)(p->nvcsw + p->nivcsw)); 348 "nr_switches", (long long)(p->nvcsw + p->nivcsw));
@@ -370,7 +370,7 @@ void proc_sched_set_task(struct task_struct *p)
370 p->se.exec_max = 0; 370 p->se.exec_max = 0;
371 p->se.slice_max = 0; 371 p->se.slice_max = 0;
372 p->se.wait_max = 0; 372 p->se.wait_max = 0;
373 p->sched_info.bkl_cnt = 0; 373 p->sched_info.bkl_count = 0;
374#endif 374#endif
375 p->se.sum_exec_runtime = 0; 375 p->se.sum_exec_runtime = 0;
376 p->se.prev_sum_exec_runtime = 0; 376 p->se.prev_sum_exec_runtime = 0;