| 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)); | 
| Steven Rostedt | 38516ab | 2010-04-20 17:04:50 -0400 | [diff] [blame] | 10 | DECLARE_TRACE_NOARGS(subsys_eventb); | 
| Mathieu Desnoyers | 4a08975 | 2008-07-18 12:16:16 -0400 | [diff] [blame] | 11 | #endif |