Mathieu Desnoyers | 4a08975 | 2008-07-18 12:16:16 -0400 | [diff] [blame] | 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 | |
Mathieu Desnoyers | 7e066fb | 2008-11-14 17:47:47 -0500 | [diff] [blame] | 7 | DECLARE_TRACE(subsys_event, |
Steven Rostedt | 2939b04 | 2009-03-09 15:47:18 -0400 | [diff] [blame] | 8 | TP_PROTO(struct inode *inode, struct file *file), |
| 9 | TP_ARGS(inode, file)); |
Mathieu Desnoyers | 7e066fb | 2008-11-14 17:47:47 -0500 | [diff] [blame] | 10 | DECLARE_TRACE(subsys_eventb, |
Steven Rostedt | 2939b04 | 2009-03-09 15:47:18 -0400 | [diff] [blame] | 11 | TP_PROTO(void), |
| 12 | TP_ARGS()); |
Mathieu Desnoyers | 4a08975 | 2008-07-18 12:16:16 -0400 | [diff] [blame] | 13 | #endif |