summaryrefslogtreecommitdiffstats
path: root/kernel/rcu.h
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2013-10-15 12:44:33 -0700
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2013-10-15 12:44:33 -0700
commit460aebac739df78b0e40a347934fdea377310577 (patch)
tree6082a8c5b5ecee1b8c3437f337f0cefca930f75f /kernel/rcu.h
parent4b0d3f0fde41a3c4454adb4d474618c23cfd4131 (diff)
parent5d5a08003d3e678372e375d99c65a24e0d33d2f5 (diff)
Merge branches 'doc.2013.09.25b' and 'fixes.2013.09.23b' into HEAD
doc.2013.09.25b: Topic branch for documentation updates. fixes.2013.09.23b: Topic branch for miscellaneous fixes.
Diffstat (limited to 'kernel/rcu.h')
-rw-r--r--kernel/rcu.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/kernel/rcu.h b/kernel/rcu.h
index 77131966c4ad..7859a0a3951e 100644
--- a/kernel/rcu.h
+++ b/kernel/rcu.h
@@ -122,4 +122,11 @@ int rcu_jiffies_till_stall_check(void);
#endif /* #ifdef CONFIG_RCU_STALL_COMMON */
+/*
+ * Strings used in tracepoints need to be exported via the
+ * tracing system such that tools like perf and trace-cmd can
+ * translate the string address pointers to actual text.
+ */
+#define TPS(x) tracepoint_string(x)
+
#endif /* __LINUX_RCU_H */