aboutsummaryrefslogtreecommitdiffstats
path: root/samples/tracepoints
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/tracepoints
parent156b5f172a64103bcb13b6d26288388b9019caa3 (diff)
downloadkernel_samsung_aries-2939b0469d04ba9ac791aca9a81625d7eb50662b.zip
kernel_samsung_aries-2939b0469d04ba9ac791aca9a81625d7eb50662b.tar.gz
kernel_samsung_aries-2939b0469d04ba9ac791aca9a81625d7eb50662b.tar.bz2
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')
-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 01724e0..dffdc49 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