Ifdef util function implementations if tracing is disabled

Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
This commit is contained in:
Christophe Bedard 2020-08-20 19:40:52 -04:00
parent b14a693639
commit 555ed59077

View file

@ -14,6 +14,8 @@
#include "tracetools/config.h"
#ifndef TRACETOOLS_DISABLED
#ifdef TRACETOOLS_LTTNG_ENABLED
#include <dlfcn.h>
#include <cxxabi.h>
@ -48,3 +50,5 @@ const char * _get_symbol_funcptr(void * funcptr)
return "DISABLED__get_symbol_funcptr";
#endif
}
#endif // TRACETOOLS_DISABLED