aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/rcutree.h
diff options
context:
space:
mode:
authorPaul E. McKenney <paul.mckenney@linaro.org>2012-10-11 19:18:09 -0400
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2012-11-08 14:50:13 -0500
commita30489c5228fba6f16b4c740a0292879ef13371e (patch)
tree2a28a2d6180f8315a8c1cee12cdb415a90b167f0 /kernel/rcutree.h
parent40694d6644d5cca28531707559466122eb212d8b (diff)
rcu: Instrument synchronize_rcu_expedited() for debugfs tracing
This commit adds the counters to rcu_state and updates them in synchronize_rcu_expedited() to provide the data needed for debugfs tracing. Signed-off-by: Paul E. McKenney <paul.mckenney@linaro.org> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/rcutree.h')
-rw-r--r--kernel/rcutree.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/kernel/rcutree.h b/kernel/rcutree.h
index 88f3d9d5971d..d274af357210 100644
--- a/kernel/rcutree.h
+++ b/kernel/rcutree.h
@@ -406,6 +406,15 @@ struct rcu_state {
406 406
407 atomic_long_t expedited_start; /* Starting ticket. */ 407 atomic_long_t expedited_start; /* Starting ticket. */
408 atomic_long_t expedited_done; /* Done ticket. */ 408 atomic_long_t expedited_done; /* Done ticket. */
409 atomic_long_t expedited_wrap; /* # near-wrap incidents. */
410 atomic_long_t expedited_tryfail; /* # acquisition failures. */
411 atomic_long_t expedited_workdone1; /* # done by others #1. */
412 atomic_long_t expedited_workdone2; /* # done by others #2. */
413 atomic_long_t expedited_normal; /* # fallbacks to normal. */
414 atomic_long_t expedited_stoppedcpus; /* # successful stop_cpus. */
415 atomic_long_t expedited_done_tries; /* # tries to update _done. */
416 atomic_long_t expedited_done_lost; /* # times beaten to _done. */
417 atomic_long_t expedited_done_exit; /* # times exited _done loop. */
409 418
410 unsigned long jiffies_force_qs; /* Time at which to invoke */ 419 unsigned long jiffies_force_qs; /* Time at which to invoke */
411 /* force_quiescent_state(). */ 420 /* force_quiescent_state(). */