Commit 7dea4561 authored by Ingo Lütkebohle's avatar Ingo Lütkebohle Committed by Christophe Bedard

Set symbols visibility to public for util functions

parent ad46e04e
......@@ -14,7 +14,13 @@ endif()
find_package(ament_cmake_ros REQUIRED)
option(TRACETOOLS_DISABLED "Explicitly disable support for tracing with LTTng" OFF)
if(WIN32)
set(DISABLED_DEFAULT ON)
else()
set(DISABLED_DEFAULT OFF)
endif()
option(TRACETOOLS_DISABLED "Explicitly disable support for tracing with LTTng" ${DISABLED_DEFAULT})
if(NOT TRACETOOLS_DISABLED)
# Set TRACING_ENABLED if we can find lttng-ust
find_package(PkgConfig)
......
......@@ -18,11 +18,13 @@
#include <stddef.h>
#include <functional>
#include "tracetools/visibility_control.hpp"
#define SYMBOL_UNKNOWN "UNKNOWN"
const char * _demangle_symbol(const char * mangled);
TRACETOOLS_PUBLIC const char * _demangle_symbol(const char * mangled);
const char * _get_symbol_funcptr(void * funcptr);
TRACETOOLS_PUBLIC const char * _get_symbol_funcptr(void * funcptr);
template<typename T, typename ... U>
const char * get_symbol(std::function<T(U...)> f)
......
......@@ -5,7 +5,7 @@
<version>0.2.8</version>
<description>Tracing wrapper for ROS 2.</description>
<maintainer email="bedard.christophe@gmail.com">Christophe Bedard</maintainer>
<maintainer email="ingo.luetkebohle@de.bosch.com">Ingo Lütkebohle</maintainer>
<maintainer email="ingo.luetkebohle@de.bosch.com">Ingo Luetkebohle</maintainer>
<license>Apache 2.0</license>
<author email="ingo.luetkebohle@de.bosch.com">Ingo Lütkebohle</author>
<author email="fixed-term.christophe.bourquebedard@de.bosch.com">Christophe Bedard</author>
......
......@@ -5,7 +5,7 @@
<version>0.2.8</version>
<description>Launch integration for tracing.</description>
<maintainer email="bedard.christophe@gmail.com">Christophe Bedard</maintainer>
<maintainer email="ingo.luetkebohle@de.bosch.com">Ingo Lütkebohle</maintainer>
<maintainer email="ingo.luetkebohle@de.bosch.com">Ingo Luetkebohle</maintainer>
<license>Apache 2.0</license>
<author email="fixed-term.christophe.bourquebedard@de.bosch.com">Christophe Bedard</author>
......
......@@ -16,7 +16,7 @@ setup(
install_requires=['setuptools'],
maintainer=(
'Christophe Bedard, '
'Ingo Lütkebohle'
'Ingo Luetkebohle'
),
maintainer_email=(
'bedard.christophe@gmail.com, '
......
......@@ -5,7 +5,7 @@
<version>0.2.8</version>
<description>Tools for reading traces.</description>
<maintainer email="bedard.christophe@gmail.com">Christophe Bedard</maintainer>
<maintainer email="ingo.luetkebohle@de.bosch.com">Ingo Lütkebohle</maintainer>
<maintainer email="ingo.luetkebohle@de.bosch.com">Ingo Luetkebohle</maintainer>
<license>Apache 2.0</license>
<author email="fixed-term.christophe.bourquebedard@de.bosch.com">Christophe Bedard</author>
......
......@@ -13,7 +13,7 @@ setup(
install_requires=['setuptools'],
maintainer=(
'Christophe Bedard, '
'Ingo Lütkebohle'
'Ingo Luetkebohle'
),
maintainer_email=(
'bedard.christophe@gmail.com, '
......
......@@ -5,7 +5,7 @@
<version>0.2.8</version>
<description>Testing utilities and tests for the tracetools package.</description>
<maintainer email="bedard.christophe@gmail.com">Christophe Bedard</maintainer>
<maintainer email="ingo.luetkebohle@de.bosch.com">Ingo Lütkebohle</maintainer>
<maintainer email="ingo.luetkebohle@de.bosch.com">Ingo Luetkebohle</maintainer>
<license>Apache 2.0</license>
<author email="fixed-term.christophe.bourquebedard@de.bosch.com">Christophe Bedard</author>
......
......@@ -5,7 +5,7 @@
<version>0.2.8</version>
<description>Tools for setting up tracing sessions.</description>
<maintainer email="bedard.christophe@gmail.com">Christophe Bedard</maintainer>
<maintainer email="ingo.luetkebohle@de.bosch.com">Ingo Lütkebohle</maintainer>
<maintainer email="ingo.luetkebohle@de.bosch.com">Ingo Luetkebohle</maintainer>
<license>Apache 2.0</license>
<author email="fixed-term.christophe.bourquebedard@de.bosch.com">Christophe Bedard</author>
......
......@@ -13,7 +13,7 @@ setup(
install_requires=['setuptools'],
maintainer=(
'Christophe Bedard, '
'Ingo Lütkebohle'
'Ingo Luetkebohle'
),
maintainer_email=(
'bedard.christophe@gmail.com, '
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment