* [PATCH 15/24] jrcu: reorganize statistics
@ 2011-03-24 17:48 Joe Korty
0 siblings, 0 replies; only message in thread
From: Joe Korty @ 2011-03-24 17:48 UTC (permalink / raw)
To: paulmck
Cc: fweisbec, peterz, laijs, mathieu.desnoyers, dhowells,
loic.minier, dhaval.giani, tglx, josh, houston.jim, andi,
linux-kernel
jrcu: re-organize statistics and their display.
Signed-off-by: Joe Korty <joe.korty@ccur.com>
Index: b/kernel/jrcu.c
===================================================================
--- a/kernel/jrcu.c
+++ b/kernel/jrcu.c
@@ -588,20 +588,26 @@ static int rcu_debugfs_show(struct seq_f
else
seq_printf(m, "%14s: daemon priority\n", "none, no daemon");
#endif
- seq_printf(m, "%14u: #passes seen\n",
+
+ seq_printf(m, "\n");
+ seq_printf(m, "%14u: #passes\n",
rcu_stats.npasses);
- seq_printf(m, "%14u: #batches seen\n",
+ seq_printf(m, "%14u: #passes resulting in end-of-batch\n",
rcu_stats.nbatches);
- seq_printf(m, "%14u: #barriers seen\n",
+ seq_printf(m, "%14u: #passes not resulting in end-of-batch\n",
+ rcu_stats.npasses - rcu_stats.nbatches);
+ seq_printf(m, "%14u: #msecs since last end-of-batch\n",
+ msecs);
+ seq_printf(m, "%14u: #passes forced (0 is best)\n",
+ rcu_stats.nforced);
+
+ seq_printf(m, "\n");
+ seq_printf(m, "%14u: #barriers\n",
atomic_read(&rcu_stats.nbarriers));
seq_printf(m, "%14llu: #callbacks invoked\n",
rcu_stats.ninvoked);
seq_printf(m, "%14u: #callbacks left to invoke\n",
atomic_read(&rcu_stats.nleft));
- seq_printf(m, "%14u: #msecs since last end-of-batch\n",
- msecs);
- seq_printf(m, "%14u: #passes forced (0 is best)\n",
- rcu_stats.nforced);
seq_printf(m, "\n");
for_each_online_cpu(cpu)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-03-24 17:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-24 17:48 [PATCH 15/24] jrcu: reorganize statistics Joe Korty
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome