Loading...
Searching...
No Matches
Go to the documentation of this file.
26#ifndef _LINUX_TRACEPOINT_H
27#define _LINUX_TRACEPOINT_H
31#define TP_PROTO(...) (__VA_ARGS__)
32#define TP_ARGS(...) (__VA_ARGS__)
33#define TP_CONDITION(c) (c)
35#define TRACE_EVENT(name, proto, args, ...) \
36 static inline void trace_##name proto { } \
37 static inline bool trace_##name##_enabled(void) { return false; }
38#define DEFINE_EVENT(class, name, proto, args, ...) \
39 static inline void trace_##name proto { } \
40 static inline bool trace_##name##_enabled(void) { return false; }
41#define DECLARE_EVENT_CLASS(name, proto, args, tstruct, assign, print, ...)
42#define DECLARE_TRACE(name, proto, args) \
43 static inline void trace_##name proto { } \
44 static inline bool trace_##name##_enabled(void) { return false; }
45#define DEFINE_TRACE(name)
46#define DECLARE_TRACE_CONDITION(name, proto, args, cond)
48#define EXPORT_TRACEPOINT_SYMBOL(name)
49#define EXPORT_TRACEPOINT_SYMBOL_GPL(name)
51#define CREATE_TRACE_POINTS