2008-07-19 00:16:16 +08:00
|
|
|
#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>
|
|
|
|
|
2008-11-15 06:47:47 +08:00
|
|
|
DECLARE_TRACE(subsys_event,
|
2009-03-10 03:47:18 +08:00
|
|
|
TP_PROTO(struct inode *inode, struct file *file),
|
|
|
|
TP_ARGS(inode, file));
|
2008-11-15 06:47:47 +08:00
|
|
|
DECLARE_TRACE(subsys_eventb,
|
2009-03-10 03:47:18 +08:00
|
|
|
TP_PROTO(void),
|
|
|
|
TP_ARGS());
|
2008-07-19 00:16:16 +08:00
|
|
|
#endif
|