summaryrefslogtreecommitdiff
path: root/samples/tracepoints/tp-samples-trace.h
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2009-03-09 22:47:18 +0300
committerSteven Rostedt <srostedt@redhat.com>2009-03-10 07:35:04 +0300
commit2939b0469d04ba9ac791aca9a81625d7eb50662b (patch)
tree573f10c39f34c670fdc6832415642738c5afb3f9 /samples/tracepoints/tp-samples-trace.h
parent156b5f172a64103bcb13b6d26288388b9019caa3 (diff)
downloadlinux-2939b0469d04ba9ac791aca9a81625d7eb50662b.tar.xz
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/tracepoints/tp-samples-trace.h')
-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