diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2013-08-17 21:08:37 -0400 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2013-09-23 12:15:31 -0400 |
commit | 0d75292467b0c8554d70c751a35af6514202ac28 (patch) | |
tree | ebac548cbfac7ed5ee2ac68c08208d6a1d50fd38 /kernel/rcu.h | |
parent | 26cdfedf6a902345f8604ea8e0b7dd2566b37a46 (diff) |
rcu: Have rcutiny tracepoints use tracepoint_string()
This commit extends the work done in f7f7bac9 (rcu: Have the RCU
tracepoints use the tracepoint_string infrastructure) to cover rcutiny.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/rcu.h')
-rw-r--r-- | kernel/rcu.h | 7 |
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); | |||
122 | 122 | ||
123 | #endif /* #ifdef CONFIG_RCU_STALL_COMMON */ | 123 | #endif /* #ifdef CONFIG_RCU_STALL_COMMON */ |
124 | 124 | ||
125 | /* | ||
126 | * Strings used in tracepoints need to be exported via the | ||
127 | * tracing system such that tools like perf and trace-cmd can | ||
128 | * translate the string address pointers to actual text. | ||
129 | */ | ||
130 | #define TPS(x) tracepoint_string(x) | ||
131 | |||
125 | #endif /* __LINUX_RCU_H */ | 132 | #endif /* __LINUX_RCU_H */ |