Define _GET_MACRO
Defined in File tracetools.h
Define Documentation
-
_GET_MACRO(_1, _2, _3, _4, _5, _6, _7, _8, _9, _10, NAME, ...)
This allows us to select between two versions of each macro to avoid the ‘gnu-zero-variadic-macro-arguments’ warning:
Only one macro argument for tracepoints without any arguments.
Up to 10 macro arguments for tracepoints with up to 9 arguments. We can easily support more than 10 macro arguments if needed.