xref: /linux/include/trace/events/sched_ext.h (revision 566ab427f827b0256d3e8ce0235d088e6a9c28bd)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #undef TRACE_SYSTEM
3 #define TRACE_SYSTEM sched_ext
4 
5 #if !defined(_TRACE_SCHED_EXT_H) || defined(TRACE_HEADER_MULTI_READ)
6 #define _TRACE_SCHED_EXT_H
7 
8 #include <linux/tracepoint.h>
9 
10 TRACE_EVENT(sched_ext_dump,
11 
12 	TP_PROTO(const char *line),
13 
14 	TP_ARGS(line),
15 
16 	TP_STRUCT__entry(
17 		__string(line, line)
18 	),
19 
20 	TP_fast_assign(
21 		__assign_str(line);
22 	),
23 
24 	TP_printk("%s",
25 		__get_str(line)
26 	)
27 );
28 
29 #endif /* _TRACE_SCHED_EXT_H */
30 
31 /* This part must be outside protection */
32 #include <trace/define_trace.h>
33