1 /* Public domain. */ 2 3 #ifndef _LINUX_TRACEPOINT_H 4 #define _LINUX_TRACEPOINT_H 5 6 #define TP_PROTO(x...) x 7 8 #define DEFINE_EVENT(template, name, proto, args) \ 9 static inline void trace_##name(proto) {} \ 10 static inline bool trace_##name##_enabled(void) { return false; } 11 12 #define DEFINE_EVENT_PRINT(template, name, proto, args, print) \ 13 static inline void trace_##name(proto) {} 14 15 #define TRACE_EVENT(name, proto, args, tstruct, assign, print) \ 16 static inline void trace_##name(proto) {} 17 18 #define TRACE_EVENT_CONDITION(name, proto, args, cond, tstruct, assign, print) \ 19 static inline void trace_##name(proto) {} 20 21 #define DECLARE_EVENT_CLASS(name, proto, args, tstruct, assign, print) \ 22 static inline void trace_##name(proto) {} 23 24 #endif 25