tracing: Let tracepoints have data passed to tracepoint callbacks
[linux-2.6.git] / samples / tracepoints / tp-samples-trace.h
1 #ifndef _TP_SAMPLES_TRACE_H
2 #define _TP_SAMPLES_TRACE_H
3
4 #include <linux/proc_fs.h>      /* for struct inode and struct file */
5 #include <linux/tracepoint.h>
6
7 DECLARE_TRACE(subsys_event,
8         TP_PROTO(struct inode *inode, struct file *file),
9         TP_ARGS(inode, file));
10 DECLARE_TRACE_NOARGS(subsys_eventb);
11 #endif