2 #define TRACE_SYSTEM fs
4 #if !defined(_TRACE_FS_H) || defined(TRACE_HEADER_MULTI_READ)
8 #include <linux/tracepoint.h>
10 TRACE_EVENT(do_sys_open
,
12 TP_PROTO(char *filename
, int flags
, int mode
),
14 TP_ARGS(filename
, flags
, mode
),
17 __string( filename
, filename
)
23 __assign_str(filename
, filename
);
24 __entry
->flags
= flags
;
28 TP_printk("\"%s\" %x %o",
29 __get_str(filename
), __entry
->flags
, __entry
->mode
)
34 TP_PROTO(char *filename
),
39 __string( filename
, filename
)
43 __assign_str(filename
, filename
);
50 TRACE_EVENT(open_exec
,
52 TP_PROTO(char *filename
),
57 __string( filename
, filename
)
61 __assign_str(filename
, filename
);
68 #endif /* _TRACE_FS_H */
70 /* This part must be outside protection */
71 #include <trace/define_trace.h>