| 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 | |||||
| 7 | DEFINE_TRACE(subsys_event, | ||||
| 8 | TPPROTO(struct inode *inode, struct file *file), | ||||
| 9 | TPARGS(inode, file)); | ||||
| 10 | DEFINE_TRACE(subsys_eventb, | ||||
| 11 | TPPROTO(void), | ||||
| 12 | TPARGS()); | ||||
| 13 | #endif | ||||