1 /* SPDX-License-Identifier: GPL-2.0 */ 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #undef TRACE_SYSTEM 2 #undef TRACE_SYSTEM 3 #define TRACE_SYSTEM sched_ext 3 #define TRACE_SYSTEM sched_ext 4 4 5 #if !defined(_TRACE_SCHED_EXT_H) || defined(TR 5 #if !defined(_TRACE_SCHED_EXT_H) || defined(TRACE_HEADER_MULTI_READ) 6 #define _TRACE_SCHED_EXT_H 6 #define _TRACE_SCHED_EXT_H 7 7 8 #include <linux/tracepoint.h> 8 #include <linux/tracepoint.h> 9 9 10 TRACE_EVENT(sched_ext_dump, 10 TRACE_EVENT(sched_ext_dump, 11 11 12 TP_PROTO(const char *line), 12 TP_PROTO(const char *line), 13 13 14 TP_ARGS(line), 14 TP_ARGS(line), 15 15 16 TP_STRUCT__entry( 16 TP_STRUCT__entry( 17 __string(line, line) 17 __string(line, line) 18 ), 18 ), 19 19 20 TP_fast_assign( 20 TP_fast_assign( 21 __assign_str(line); 21 __assign_str(line); 22 ), 22 ), 23 23 24 TP_printk("%s", 24 TP_printk("%s", 25 __get_str(line) 25 __get_str(line) 26 ) 26 ) 27 ); 27 ); 28 28 29 #endif /* _TRACE_SCHED_EXT_H */ 29 #endif /* _TRACE_SCHED_EXT_H */ 30 30 31 /* This part must be outside protection */ 31 /* This part must be outside protection */ 32 #include <trace/define_trace.h> 32 #include <trace/define_trace.h> 33 33
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.