* [PATCH 2/2 -tip] sched: Jiffies not printed per CPU
@ 2009-03-18 0:04 Luis Henriques
2009-03-18 9:00 ` [tip:sched/debug] sched: jiffies " Luis Henriques
0 siblings, 1 reply; 2+ messages in thread
From: Luis Henriques @ 2009-03-18 0:04 UTC (permalink / raw)
To: Ingo Molnar; +Cc: linux-kernel
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>
---
kernel/sched_debug.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/sched_debug.c b/kernel/sched_debug.c
index 1f16606..32ec9ab 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)
P(nr_switches);
P(nr_load_updates);
P(nr_uninterruptible);
- SEQ_printf(m, " .%-30s: %lu\n", "jiffies", jiffies);
PN(next_balance);
P(curr->pid);
PN(clock);
@@ -322,6 +321,7 @@ static int sched_debug_show(struct seq_file *m, void *v)
SEQ_printf(m, " .%-40s: %Ld\n", #x, (long long)(x))
#define PN(x) \
SEQ_printf(m, " .%-40s: %Ld.%06ld\n", #x, SPLIT_NS(x))
+ P(jiffies);
PN(sysctl_sched_latency);
PN(sysctl_sched_min_granularity);
PN(sysctl_sched_wakeup_granularity);
--
1.6.2
--
Luis Henriques
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [tip:sched/debug] sched: jiffies not printed per CPU
2009-03-18 0:04 [PATCH 2/2 -tip] sched: Jiffies not printed per CPU Luis Henriques
@ 2009-03-18 9:00 ` Luis Henriques
0 siblings, 0 replies; 2+ messages in thread
From: Luis Henriques @ 2009-03-18 9:00 UTC (permalink / raw)
To: linux-tip-commits; +Cc: linux-kernel, hpa, mingo, peterz, henrix, tglx, mingo
Commit-ID: af66df5ecf9c9e2d2ff86e8203510c1c4519d64c
Gitweb: http://git.kernel.org/tip/af66df5ecf9c9e2d2ff86e8203510c1c4519d64c
Author: Luis Henriques <henrix@sapo.pt>
AuthorDate: Wed, 18 Mar 2009 00:04:25 +0000
Commit: Ingo Molnar <mingo@elte.hu>
CommitDate: Wed, 18 Mar 2009 09:57:26 +0100
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>
---
kernel/sched_debug.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/sched_debug.c b/kernel/sched_debug.c
index 2b1260f..4daebff 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)
P(nr_switches);
P(nr_load_updates);
P(nr_uninterruptible);
- SEQ_printf(m, " .%-30s: %lu\n", "jiffies", jiffies);
PN(next_balance);
P(curr->pid);
PN(clock);
@@ -325,6 +324,7 @@ static int sched_debug_show(struct seq_file *m, void *v)
SEQ_printf(m, " .%-40s: %Ld\n", #x, (long long)(x))
#define PN(x) \
SEQ_printf(m, " .%-40s: %Ld.%06ld\n", #x, SPLIT_NS(x))
+ P(jiffies);
PN(sysctl_sched_latency);
PN(sysctl_sched_min_granularity);
PN(sysctl_sched_wakeup_granularity);
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-03-18 9:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-18 0:04 [PATCH 2/2 -tip] sched: Jiffies not printed per CPU Luis Henriques
2009-03-18 9:00 ` [tip:sched/debug] sched: jiffies " Luis Henriques
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.