Explicitly disable tracepoints on Windows
This commit is contained in:
parent
607d68bfcd
commit
56ee174ef1
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
#include "tracetools/tracetools.h"
|
#include "tracetools/tracetools.h"
|
||||||
|
|
||||||
#ifdef WITH_LTTNG
|
#if defined(WITH_LTTNG) && !defined(_WIN32)
|
||||||
# include "tp_call.h"
|
# include "tp_call.h"
|
||||||
# define CONDITIONAL_TP(...) \
|
# define CONDITIONAL_TP(...) \
|
||||||
tracepoint(__VA_ARGS__)
|
tracepoint(__VA_ARGS__)
|
||||||
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
bool ros_trace_compile_status()
|
bool ros_trace_compile_status()
|
||||||
{
|
{
|
||||||
#ifdef WITH_LTTNG
|
#if defined(WITH_LTTNG) && !defined(_WIN32)
|
||||||
return true;
|
return true;
|
||||||
#else
|
#else
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue