Ifdef util function implementations if tracing is disabled
Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
This commit is contained in:
parent
b14a693639
commit
555ed59077
1 changed files with 4 additions and 0 deletions
|
@ -14,6 +14,8 @@
|
||||||
|
|
||||||
#include "tracetools/config.h"
|
#include "tracetools/config.h"
|
||||||
|
|
||||||
|
#ifndef TRACETOOLS_DISABLED
|
||||||
|
|
||||||
#ifdef TRACETOOLS_LTTNG_ENABLED
|
#ifdef TRACETOOLS_LTTNG_ENABLED
|
||||||
#include <dlfcn.h>
|
#include <dlfcn.h>
|
||||||
#include <cxxabi.h>
|
#include <cxxabi.h>
|
||||||
|
@ -48,3 +50,5 @@ const char * _get_symbol_funcptr(void * funcptr)
|
||||||
return "DISABLED__get_symbol_funcptr";
|
return "DISABLED__get_symbol_funcptr";
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif // TRACETOOLS_DISABLED
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue