aboutsummaryrefslogtreecommitdiff
path: root/samples/tracepoints/tracepoint-sample.c
diff options
context:
space:
mode:
Diffstat (limited to 'samples/tracepoints/tracepoint-sample.c')
-rw-r--r--samples/tracepoints/tracepoint-sample.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/samples/tracepoints/tracepoint-sample.c b/samples/tracepoints/tracepoint-sample.c
index 4ae4b7fcc04..00d169792a3 100644
--- a/samples/tracepoints/tracepoint-sample.c
+++ b/samples/tracepoints/tracepoint-sample.c
@@ -13,6 +13,9 @@
#include <linux/proc_fs.h>
#include "tp-samples-trace.h"
+DEFINE_TRACE(subsys_event);
+DEFINE_TRACE(subsys_eventb);
+
struct proc_dir_entry *pentry_example;
static int my_open(struct inode *inode, struct file *file)