summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2009-03-09 15:47:18 -0400
committerSteven Rostedt <srostedt@redhat.com>2009-03-10 00:35:04 -0400
commit2939b0469d04ba9ac791aca9a81625d7eb50662b (patch)
tree573f10c39f34c670fdc6832415642738c5afb3f9 /samples
parent156b5f172a64103bcb13b6d26288388b9019caa3 (diff)
downloadlinux-stable-2939b0469d04ba9ac791aca9a81625d7eb50662b.tar.gz
linux-stable-2939b0469d04ba9ac791aca9a81625d7eb50662b.tar.bz2
linux-stable-2939b0469d04ba9ac791aca9a81625d7eb50662b.zip
tracing: replace TP<var> with TP_<var>
Impact: clean up The macros TPPROTO, TPARGS, TPFMT, TPRAWFMT, and TPCMD all look a bit ugly. This patch adds an underscore to their names. Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Diffstat (limited to 'samples')
-rw-r--r--samples/tracepoints/tp-samples-trace.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/samples/tracepoints/tp-samples-trace.h b/samples/tracepoints/tp-samples-trace.h
index 01724e04c556..dffdc49878af 100644
--- a/samples/tracepoints/tp-samples-trace.h
+++ b/samples/tracepoints/tp-samples-trace.h
@@ -5,9 +5,9 @@
#include <linux/tracepoint.h>
DECLARE_TRACE(subsys_event,
- TPPROTO(struct inode *inode, struct file *file),
- TPARGS(inode, file));
+ TP_PROTO(struct inode *inode, struct file *file),
+ TP_ARGS(inode, file));
DECLARE_TRACE(subsys_eventb,
- TPPROTO(void),
- TPARGS());
+ TP_PROTO(void),
+ TP_ARGS());
#endif