XenevaOS
Loading...
Searching...
No Matches
Macros
tracepoint.h File Reference
#include <stdbool.h>
Include dependency graph for tracepoint.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define TP_PROTO(...)   (__VA_ARGS__)
 
#define TP_ARGS(...)   (__VA_ARGS__)
 
#define TP_CONDITION(c)   (c)
 
#define TRACE_EVENT(name, proto, args, ...)
 
#define DEFINE_EVENT(class, name, proto, args, ...)
 
#define DECLARE_EVENT_CLASS(name, proto, args, tstruct, assign, print, ...)
 
#define DECLARE_TRACE(name, proto, args)
 
#define DEFINE_TRACE(name)
 
#define DECLARE_TRACE_CONDITION(name, proto, args, cond)
 
#define EXPORT_TRACEPOINT_SYMBOL(name)
 
#define EXPORT_TRACEPOINT_SYMBOL_GPL(name)
 
#define CREATE_TRACE_POINTS
 

Macro Definition Documentation

◆ CREATE_TRACE_POINTS

#define CREATE_TRACE_POINTS

◆ DECLARE_EVENT_CLASS

#define DECLARE_EVENT_CLASS (   name,
  proto,
  args,
  tstruct,
  assign,
  print,
  ... 
)

◆ DECLARE_TRACE

#define DECLARE_TRACE (   name,
  proto,
  args 
)
Value:
static inline void trace_##name proto { } \
static inline bool trace_##name##_enabled(void) { return false; }
struct drm_crtc struct drm_plane struct drm_plane const struct drm_crtc_funcs const char * name
Definition drm_crtc.h:1242

◆ DECLARE_TRACE_CONDITION

#define DECLARE_TRACE_CONDITION (   name,
  proto,
  args,
  cond 
)

◆ DEFINE_EVENT

#define DEFINE_EVENT (   class,
  name,
  proto,
  args,
  ... 
)
Value:
static inline void trace_##name proto { } \
static inline bool trace_##name##_enabled(void) { return false; }

◆ DEFINE_TRACE

#define DEFINE_TRACE (   name)

◆ EXPORT_TRACEPOINT_SYMBOL

#define EXPORT_TRACEPOINT_SYMBOL (   name)

◆ EXPORT_TRACEPOINT_SYMBOL_GPL

#define EXPORT_TRACEPOINT_SYMBOL_GPL (   name)

◆ TP_ARGS

#define TP_ARGS (   ...)    (__VA_ARGS__)

◆ TP_CONDITION

#define TP_CONDITION (   c)    (c)

◆ TP_PROTO

#define TP_PROTO (   ...)    (__VA_ARGS__)

◆ TRACE_EVENT

#define TRACE_EVENT (   name,
  proto,
  args,
  ... 
)
Value:
static inline void trace_##name proto { } \
static inline bool trace_##name##_enabled(void) { return false; }