Use TRACETOOLS_LTTNG_ENABLED instead of WITH_LTTNG in the code
This commit is contained in:
parent
8f7d5e99eb
commit
a85d4ade5d
3 changed files with 5 additions and 5 deletions
|
@ -14,7 +14,7 @@
|
|||
|
||||
#include "tracetools/tracetools.h"
|
||||
|
||||
#if defined(WITH_LTTNG) && !defined(_WIN32)
|
||||
#if defined(TRACETOOLS_LTTNG_ENABLED) && !defined(_WIN32)
|
||||
# include "tracetools/tp_call.h"
|
||||
# define CONDITIONAL_TP(...) \
|
||||
tracepoint(__VA_ARGS__)
|
||||
|
@ -24,7 +24,7 @@
|
|||
|
||||
bool ros_trace_compile_status()
|
||||
{
|
||||
#if defined(WITH_LTTNG) && !defined(_WIN32)
|
||||
#if defined(TRACETOOLS_LTTNG_ENABLED) && !defined(_WIN32)
|
||||
return true;
|
||||
#else
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue