aboutsummaryrefslogtreecommitdiffstats
path: root/include/trace
diff options
context:
space:
mode:
Diffstat (limited to 'include/trace')
-rw-r--r--include/trace/ftrace.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/trace/ftrace.h b/include/trace/ftrace.h
index 22c94719c569..87fc227c6fbe 100644
--- a/include/trace/ftrace.h
+++ b/include/trace/ftrace.h
@@ -130,6 +130,14 @@
130 ftrace_print_flags_seq(p, delim, flag, flags); \ 130 ftrace_print_flags_seq(p, delim, flag, flags); \
131 }) 131 })
132 132
133#undef __print_symbolic
134#define __print_symbolic(value, symbol_array...) \
135 ({ \
136 static const struct trace_print_flags symbols[] = \
137 { symbol_array, { -1, NULL }}; \
138 ftrace_print_symbols_seq(p, value, symbols); \
139 })
140
133#undef TRACE_EVENT 141#undef TRACE_EVENT
134#define TRACE_EVENT(call, proto, args, tstruct, assign, print) \ 142#define TRACE_EVENT(call, proto, args, tstruct, assign, print) \
135enum print_line_t \ 143enum print_line_t \