mirror of https://gitee.com/openkylin/linux.git
12 lines
301 B
C
12 lines
301 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_NOARGS(subsys_eventb);
|
|
#endif
|