Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) /* SPDX-License-Identifier: GPL-2.0 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) #undef TRACE_SYSTEM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) #define TRACE_SYSTEM initcall
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) #if !defined(_TRACE_INITCALL_H) || defined(TRACE_HEADER_MULTI_READ)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) #define _TRACE_INITCALL_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) #include <linux/tracepoint.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) TRACE_EVENT(initcall_level,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) 	TP_PROTO(const char *level),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) 	TP_ARGS(level),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) 	TP_STRUCT__entry(
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) 		__string(level, level)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) 	),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) 	TP_fast_assign(
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) 		__assign_str(level, level);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) 	),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) 	TP_printk("level=%s", __get_str(level))
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) );
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) TRACE_EVENT(initcall_start,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) 	TP_PROTO(initcall_t func),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) 	TP_ARGS(func),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) 	TP_STRUCT__entry(
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) 		/*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) 		 * Use field_struct to avoid is_signed_type()
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) 		 * comparison of a function pointer
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) 		 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) 		__field_struct(initcall_t, func)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) 	),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) 	TP_fast_assign(
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) 		__entry->func = func;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) 	),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) 	TP_printk("func=%pS", __entry->func)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) );
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) TRACE_EVENT(initcall_finish,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) 	TP_PROTO(initcall_t func, int ret),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) 	TP_ARGS(func, ret),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) 	TP_STRUCT__entry(
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) 		/*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) 		 * Use field_struct to avoid is_signed_type()
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) 		 * comparison of a function pointer
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) 		 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) 		__field_struct(initcall_t,	func)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) 		__field(int,			ret)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) 	),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) 	TP_fast_assign(
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) 		__entry->func = func;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65) 		__entry->ret = ret;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66) 	),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68) 	TP_printk("func=%pS ret=%d", __entry->func, __entry->ret)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69) );
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71) #endif /* if !defined(_TRACE_GPIO_H) || defined(TRACE_HEADER_MULTI_READ) */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 73) /* This part must be outside protection */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 74) #include <trace/define_trace.h>