14 lines
323 B
C
14 lines
323 B
C
|
#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
|