aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched_debug.c
diff options
context:
space:
mode:
authorLuis Henriques <henrix@sapo.pt>2009-03-17 20:04:25 -0400
committerIngo Molnar <mingo@elte.hu>2009-03-18 04:57:26 -0400
commitaf66df5ecf9c9e2d2ff86e8203510c1c4519d64c (patch)
treec87b608c16911c48a9a55167891489f5714f66c7 /kernel/sched_debug.c
parent37ba317c9ed19eb126e40bbf563f2711e191a636 (diff)
sched: jiffies not printed per CPU
The jiffies value was being printed for each CPU, which does not seem to make sense. Moved jiffies to system section. Signed-off-by: Luis Henriques <henrix@sapo.pt> Acked-by: Peter Zijlstra <peterz@infradead.org> LKML-Reference: <20090318000425.GA2228@hades.domain.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sched_debug.c')
-rw-r--r--kernel/sched_debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched_debug.c b/kernel/sched_debug.c
index 2b1260f0e800..4daebffa0565 100644
--- a/kernel/sched_debug.c
+++ b/kernel/sched_debug.c
@@ -272,7 +272,6 @@ static void print_cpu(struct seq_file *m, int cpu)
272 P(nr_switches); 272 P(nr_switches);
273 P(nr_load_updates); 273 P(nr_load_updates);
274 P(nr_uninterruptible); 274 P(nr_uninterruptible);
275 SEQ_printf(m, " .%-30s: %lu\n", "jiffies", jiffies);
276 PN(next_balance); 275 PN(next_balance);
277 P(curr->pid); 276 P(curr->pid);
278 PN(clock); 277 PN(clock);
@@ -325,6 +324,7 @@ static int sched_debug_show(struct seq_file *m, void *v)
325 SEQ_printf(m, " .%-40s: %Ld\n", #x, (long long)(x)) 324 SEQ_printf(m, " .%-40s: %Ld\n", #x, (long long)(x))
326#define PN(x) \ 325#define PN(x) \
327 SEQ_printf(m, " .%-40s: %Ld.%06ld\n", #x, SPLIT_NS(x)) 326 SEQ_printf(m, " .%-40s: %Ld.%06ld\n", #x, SPLIT_NS(x))
327 P(jiffies);
328 PN(sysctl_sched_latency); 328 PN(sysctl_sched_latency);
329 PN(sysctl_sched_min_granularity); 329 PN(sysctl_sched_min_granularity);
330 PN(sysctl_sched_wakeup_granularity); 330 PN(sysctl_sched_wakeup_granularity);