aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/rcutree.h
diff options
context:
space:
mode:
authorPaul E. McKenney <paul.mckenney@linaro.org>2011-04-04 00:33:51 -0400
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2011-05-06 02:16:56 -0400
commit4a29865689dbb87a02e3b0fff4a4ae5041273173 (patch)
tree72c9f1641a9fb05e3ae4d8cc068f62f9c566bae9 /include/linux/rcutree.h
parentd71df90eadfc35aa549ff9a850842673febca71f (diff)
rcu: make rcutorture version numbers available through debugfs
It is not possible to accurately correlate rcutorture output with that of debugfs. This patch therefore adds a debugfs file that prints out the rcutorture version number, permitting easy correlation. Signed-off-by: Paul E. McKenney <paul.mckenney@linaro.org> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Diffstat (limited to 'include/linux/rcutree.h')
-rw-r--r--include/linux/rcutree.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/rcutree.h b/include/linux/rcutree.h
index 3a933482734a..284dad10c55b 100644
--- a/include/linux/rcutree.h
+++ b/include/linux/rcutree.h
@@ -58,9 +58,12 @@ static inline void synchronize_rcu_bh_expedited(void)
58 58
59extern void rcu_barrier(void); 59extern void rcu_barrier(void);
60 60
61extern unsigned long rcutorture_testseq;
62extern unsigned long rcutorture_vernum;
61extern long rcu_batches_completed(void); 63extern long rcu_batches_completed(void);
62extern long rcu_batches_completed_bh(void); 64extern long rcu_batches_completed_bh(void);
63extern long rcu_batches_completed_sched(void); 65extern long rcu_batches_completed_sched(void);
66
64extern void rcu_force_quiescent_state(void); 67extern void rcu_force_quiescent_state(void);
65extern void rcu_bh_force_quiescent_state(void); 68extern void rcu_bh_force_quiescent_state(void);
66extern void rcu_sched_force_quiescent_state(void); 69extern void rcu_sched_force_quiescent_state(void);