aboutsummaryrefslogtreecommitdiff
path: root/samples/tracepoints/tp-samples-trace.h
diff options
context:
space:
mode:
Diffstat (limited to 'samples/tracepoints/tp-samples-trace.h')
-rw-r--r--samples/tracepoints/tp-samples-trace.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/samples/tracepoints/tp-samples-trace.h b/samples/tracepoints/tp-samples-trace.h
index 0216b55bd64..01724e04c55 100644
--- a/samples/tracepoints/tp-samples-trace.h
+++ b/samples/tracepoints/tp-samples-trace.h
@@ -4,10 +4,10 @@
#include <linux/proc_fs.h> /* for struct inode and struct file */
#include <linux/tracepoint.h>
-DEFINE_TRACE(subsys_event,
+DECLARE_TRACE(subsys_event,
TPPROTO(struct inode *inode, struct file *file),
TPARGS(inode, file));
-DEFINE_TRACE(subsys_eventb,
+DECLARE_TRACE(subsys_eventb,
TPPROTO(void),
TPARGS());
#endif