Merge branch 'feature/foxy_migration' into 'foxy'
Release micro-ROS Foxy: disable tracetools status app See merge request micro-ROS/ros_tracing/ros2_tracing!192
This commit is contained in:
commit
ade91660a1
2 changed files with 19 additions and 11 deletions
|
@ -21,6 +21,7 @@ else()
|
|||
endif()
|
||||
option(TRACETOOLS_DISABLED "Explicitly disable support for tracing" ${DISABLED_DEFAULT})
|
||||
option(TRACETOOLS_NO_RDYNAMIC "Disable export of -rdynamic link flag" OFF)
|
||||
option(TRACETOOLS_STATUS_CHECKING_TOOL "Enable the status checking tool" ON)
|
||||
|
||||
if(NOT TRACETOOLS_DISABLED)
|
||||
# Set TRACETOOLS_LTTNG_ENABLED if we can find lttng-ust
|
||||
|
@ -94,6 +95,7 @@ target_include_directories(${PROJECT_NAME} PUBLIC
|
|||
)
|
||||
ament_export_targets(${PROJECT_NAME}_export HAS_LIBRARY_TARGET)
|
||||
|
||||
if(TRACETOOLS_STATUS_CHECKING_TOOL)
|
||||
# Status checking tool
|
||||
add_executable(status
|
||||
src/status.c
|
||||
|
@ -105,6 +107,7 @@ install(TARGETS
|
|||
status
|
||||
DESTINATION lib/${PROJECT_NAME}
|
||||
)
|
||||
endif()
|
||||
|
||||
install(
|
||||
DIRECTORY ${PROJECT_BINARY_DIR}/include/
|
||||
|
|
|
@ -18,11 +18,14 @@
|
|||
#include <stddef.h>
|
||||
#include <functional>
|
||||
|
||||
#include "tracetools/config.h"
|
||||
#include "tracetools/visibility_control.hpp"
|
||||
|
||||
/// Default symbol, used when address resolution fails.
|
||||
#define SYMBOL_UNKNOWN "UNKNOWN"
|
||||
|
||||
#ifndef TRACETOOLS_DISABLED
|
||||
|
||||
TRACETOOLS_PUBLIC const char * _demangle_symbol(const char * mangled);
|
||||
|
||||
TRACETOOLS_PUBLIC const char * _get_symbol_funcptr(void * funcptr);
|
||||
|
@ -62,4 +65,6 @@ const char * get_symbol(L && l)
|
|||
return _demangle_symbol(typeid(l).name());
|
||||
}
|
||||
|
||||
#endif // TRACETOOLS_DISABLED
|
||||
|
||||
#endif // TRACETOOLS__UTILS_HPP_
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue