Resolve "Add option to compile out LTTng entirely"
This commit is contained in:
parent
9d3ed4aa6b
commit
7b15e17cd2
6 changed files with 74 additions and 28 deletions
|
@ -14,6 +14,8 @@
|
|||
|
||||
#include "tracetools/tracetools.h"
|
||||
|
||||
#ifndef TRACETOOLS_DISABLED
|
||||
|
||||
#if defined(TRACETOOLS_LTTNG_ENABLED)
|
||||
# include "tracetools/tp_call.h"
|
||||
# define CONDITIONAL_TP(...) \
|
||||
|
@ -216,3 +218,5 @@ void TRACEPOINT(
|
|||
#ifndef _WIN32
|
||||
# pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
||||
#endif // TRACETOOLS_DISABLED
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue