i2c: mxs: use MXS_DMA_CTRL_WAIT4END instead of DMA_CTRL_ACK
[linux/fpc-iii.git] / include / trace / events / initcall.h
blobeb903c3f195f590b7c13e245af1412e7263000ec
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #undef TRACE_SYSTEM
3 #define TRACE_SYSTEM initcall
5 #if !defined(_TRACE_INITCALL_H) || defined(TRACE_HEADER_MULTI_READ)
6 #define _TRACE_INITCALL_H
8 #include <linux/tracepoint.h>
10 TRACE_EVENT(initcall_level,
12 TP_PROTO(const char *level),
14 TP_ARGS(level),
16 TP_STRUCT__entry(
17 __string(level, level)
20 TP_fast_assign(
21 __assign_str(level, level);
24 TP_printk("level=%s", __get_str(level))
27 TRACE_EVENT(initcall_start,
29 TP_PROTO(initcall_t func),
31 TP_ARGS(func),
33 TP_STRUCT__entry(
35 * Use field_struct to avoid is_signed_type()
36 * comparison of a function pointer
38 __field_struct(initcall_t, func)
41 TP_fast_assign(
42 __entry->func = func;
45 TP_printk("func=%pS", __entry->func)
48 TRACE_EVENT(initcall_finish,
50 TP_PROTO(initcall_t func, int ret),
52 TP_ARGS(func, ret),
54 TP_STRUCT__entry(
56 * Use field_struct to avoid is_signed_type()
57 * comparison of a function pointer
59 __field_struct(initcall_t, func)
60 __field(int, ret)
63 TP_fast_assign(
64 __entry->func = func;
65 __entry->ret = ret;
68 TP_printk("func=%pS ret=%d", __entry->func, __entry->ret)
71 #endif /* if !defined(_TRACE_GPIO_H) || defined(TRACE_HEADER_MULTI_READ) */
73 /* This part must be outside protection */
74 #include <trace/define_trace.h>