File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 76
76
#define DECLARE_TRACE (name , proto , args ) \
77
77
DEFINE_TRACE(name, PARAMS(proto), PARAMS(args))
78
78
79
+ #undef DECLARE_TRACE_CONDITION
80
+ #define DECLARE_TRACE_CONDITION (name , proto , args , cond ) \
81
+ DEFINE_TRACE(name, PARAMS(proto), PARAMS(args))
82
+
79
83
/* If requested, create helpers for calling these tracepoints from Rust. */
80
84
#ifdef CREATE_RUST_TRACE_POINTS
81
85
#undef DEFINE_RUST_DO_TRACE
108
112
/* Make all open coded DECLARE_TRACE nops */
109
113
#undef DECLARE_TRACE
110
114
#define DECLARE_TRACE (name , proto , args )
115
+ #undef DECLARE_TRACE_CONDITION
116
+ #define DECLARE_TRACE_CONDITION (name , proto , args , cond )
111
117
112
118
#ifdef TRACEPOINTS_ENABLED
113
119
#include <trace/trace_events.h>
129
135
#undef DEFINE_EVENT_CONDITION
130
136
#undef TRACE_HEADER_MULTI_READ
131
137
#undef DECLARE_TRACE
138
+ #undef DECLARE_TRACE_CONDITION
132
139
133
140
/* Only undef what we defined in this file */
134
141
#ifdef UNDEF_TRACE_INCLUDE_FILE
You can’t perform that action at this time.
0 commit comments