aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2009-08-22 16:56:48 -0400
committerIngo Molnar <mingo@elte.hu>2009-08-23 04:32:38 -0400
commit5699ed8fcb0c32ca699e2a27ad716eb70b367dbf (patch)
tree69f0a831c48edd3a389da165b8afeba5139adfec /kernel
parentbc33f24bdca8b6e97376e3a182ab69e6cdefa989 (diff)
rcu: Fix online/offline indication for rcudata.csv trace file
The heading said "Online?", but the column had "Y" for offline CPUs and "N" for online CPUs. Swap the "Y" and "N" to match the heading. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Cc: laijs@cn.fujitsu.com Cc: dipankar@in.ibm.com Cc: akpm@linux-foundation.org Cc: mathieu.desnoyers@polymtl.ca Cc: josht@linux.vnet.ibm.com Cc: dvhltc@us.ibm.com Cc: niv@us.ibm.com Cc: peterz@infradead.org Cc: rostedt@goodmis.org LKML-Reference: <12509746132841-git-send-email-> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/rcutree_trace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/rcutree_trace.c b/kernel/rcutree_trace.c
index 236c0504fee2..ea4a47470371 100644
--- a/kernel/rcutree_trace.c
+++ b/kernel/rcutree_trace.c
@@ -103,7 +103,7 @@ static void print_one_rcu_data_csv(struct seq_file *m, struct rcu_data *rdp)
103 return; 103 return;
104 seq_printf(m, "%d,%s,%ld,%ld,%d,%ld,%d", 104 seq_printf(m, "%d,%s,%ld,%ld,%d,%ld,%d",
105 rdp->cpu, 105 rdp->cpu,
106 cpu_is_offline(rdp->cpu) ? "\"Y\"" : "\"N\"", 106 cpu_is_offline(rdp->cpu) ? "\"N\"" : "\"Y\"",
107 rdp->completed, rdp->gpnum, 107 rdp->completed, rdp->gpnum,
108 rdp->passed_quiesc, rdp->passed_quiesc_completed, 108 rdp->passed_quiesc, rdp->passed_quiesc_completed,
109 rdp->qs_pending); 109 rdp->qs_pending);