1 2 3 4 5 6 7 8 9 10 11 12 13
#ifndef _TP_SAMPLES_TRACE_H #define _TP_SAMPLES_TRACE_H #include <linux/proc_fs.h> /* for struct inode and struct file */ #include <linux/tracepoint.h> DECLARE_TRACE(subsys_event, TP_PROTO(struct inode *inode, struct file *file), TP_ARGS(inode, file)); DECLARE_TRACE(subsys_eventb, TP_PROTO(void), TP_ARGS()); #endif