diff options
author | Srivatsa Vaddagiri <vatsa@linux.vnet.ibm.com> | 2007-10-15 11:00:09 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2007-10-15 11:00:09 -0400 |
commit | 545f3b18152355acbb8da59873506fcf66c7c60e (patch) | |
tree | 4825105d7a66879650151bbc0c37017a3694017d /kernel/sched_debug.c | |
parent | 72ea22f8fbc893425faefa60641f45a4cdef2261 (diff) |
sched: print nr_running and load in /proc/sched_debug
- print nr_running and load information for cfs_rq in /proc/sched_debug
Signed-off-by: Srivatsa Vaddagiri <vatsa@linux.vnet.ibm.com>
Signed-off-by: Dhaval Giani <dhaval@linux.vnet.ibm.com>
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 'kernel/sched_debug.c')
-rw-r--r-- | kernel/sched_debug.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/sched_debug.c b/kernel/sched_debug.c index 4eaaf96559d6..3e47e870b043 100644 --- a/kernel/sched_debug.c +++ b/kernel/sched_debug.c | |||
@@ -134,6 +134,8 @@ void print_cfs_rq(struct seq_file *m, int cpu, struct cfs_rq *cfs_rq) | |||
134 | spread0 = min_vruntime - rq0_min_vruntime; | 134 | spread0 = min_vruntime - rq0_min_vruntime; |
135 | SEQ_printf(m, " .%-30s: %Ld.%06ld\n", "spread0", | 135 | SEQ_printf(m, " .%-30s: %Ld.%06ld\n", "spread0", |
136 | SPLIT_NS(spread0)); | 136 | SPLIT_NS(spread0)); |
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); | ||
137 | } | 139 | } |
138 | 140 | ||
139 | static void print_cpu(struct seq_file *m, int cpu) | 141 | static void print_cpu(struct seq_file *m, int cpu) |