Commit graph

45 commits

Author SHA1 Message Date
Christophe Bedard
514f57e690 Do not export tracetools if empty
Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
2020-09-03 18:28:03 -04:00
Christophe Bedard
c3c16707eb Disable status checking tool by default on Windows
Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
2020-08-20 19:41:25 -04:00
José Antonio Moral
b473cec508 Release micro-ROS Foxy: disable tracetools status app 2020-07-22 11:06:10 +00:00
Dirk Thomas
57298502c6 use ament_export_targets() instead of deprecated ament_export_interfaces()
Signed-off-by: Dirk Thomas <dirk-thomas@users.noreply.github.com>
2020-04-09 14:58:55 -04:00
Christophe Bedard
e3b112a5e9 Update tracetools' CMake config to use modern CMake
Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
2020-04-09 14:31:37 -04:00
Christophe Bedard
8bf8255b02 Add TRACETOOLS_NO_RDYNAMIC option to not export -rdynamic
Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
2020-03-08 23:42:07 -04:00
Christophe Bedard
c086d8b843 Move test_utils from tracetools to tracetools_test
Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
2020-03-08 23:42:07 -04:00
Christophe Bedard
ae9dd2431b Use ament_export_link_flags() to export -rdynamic from tracetools
Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
2020-03-08 23:08:25 -04:00
Christophe Bedard
6af3433573 Use target_compile_definitions instead of add_definitions for version
Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
2020-03-03 14:32:20 -08:00
Christophe Bedard
b77cf759fc Fix formatting in CMakeLists.txt
Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
2020-03-03 14:22:35 -08:00
Christophe Bedard
3e33fb4b64 Remove trailing slash from destination include directory
Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
2020-03-01 09:49:52 -05:00
Christophe Bedard
6f8792e922 Only include headers that we actually use and need
Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
2020-02-29 15:16:51 -05:00
Christophe Bedard
484efb17cc Remove mention of LTTng for TRACETOOLS_DISABLED description
Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
2020-02-29 14:18:18 -05:00
Christophe Bedard
c6b7a645e3 Move TRACETOOLS_LTTNG_ENABLED definition to config.h.in
Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
2020-02-29 10:06:44 -05:00
Stephen Brawner
b9838903a1 Setting AMENT_CMAKE_CPPCHECK_ADDITIONAL_INCLUDE_DIRS with lttng
Signed-off-by: Stephen Brawner <brawner@gmail.com>
2020-02-28 17:10:40 +00:00
Christophe Bedard
5ba621694d Remove unnecessary target_link_libraries(... dl) for tracetools 2019-12-11 12:09:31 -08:00
Ingo Lütkebohle
7dea456122 Set symbols visibility to public for util functions 2019-10-18 17:07:18 +00:00
Luetkebohle Ingo (CR/AEX3)
d1d425d1b3 Enable warnings on Windows 2019-08-02 16:35:16 +02:00
Christophe Bedard
64bee1c9f3 Remove utils.cpp from status executable 2019-08-01 13:44:00 +02:00
Luetkebohle Ingo (CR/AEX3)
dac5ffa719 enable visibility control for building on Win32
we still have no functionality on Windows, but at least it compiles
2019-08-01 11:51:27 +02:00
Christophe Bedard
4e622b7978 Remove empty target_link_libraries() when tracing is not enabled 2019-08-01 09:56:09 +02:00
Christophe Bedard
ec1c61ed8c Move status exec to after tracetools lib 2019-08-01 09:52:32 +02:00
Christophe Bedard
5133cb11d7 Remove explicit 'SHARED' for tracetools lib 2019-08-01 09:20:26 +02:00
Ingo Lütkebohle
7b15e17cd2 Resolve "Add option to compile out LTTng entirely" 2019-07-30 14:27:36 +00:00
Christophe Bedard
b4f14c9d3b Remove ament_target_dependencies() for tracetools status executable 2019-07-30 15:44:28 +02:00
Christophe Bedard
5da7ad22ed Put back cmake comments 2019-07-25 09:30:46 +02:00
Christophe Bedard
32717cb806 Rename option 2019-07-25 09:03:29 +02:00
Christophe Bedard
ae093f062d Merge branch '29-tracetools-test_utils-is-never-built' into tblass/enable-tracing-by-default 2019-07-25 08:45:27 +02:00
Tobias Blass
1452787336 Enable tracing by default if LTTng is available
Also removed the colcon.meta file that implicitly enabled tracing anyway
2019-07-19 10:38:08 +02:00
Christophe Bedard
8207239057 Fix test_utils never getting built 2019-07-16 13:53:07 +02:00
Christophe Bedard
3542aab984 Only build and run tracing tests if LTTng is enabled and found 2019-07-12 10:06:52 +02:00
Christophe Bedard
2c76d67755 Merge branch '18-remove-unnecessary-fpic-flags-in-tracetools-tracetools_test' into 'master'
Resolve "Remove unnecessary -fPIC flags in tracetools+tracetools_test"

Closes #18

See merge request micro-ROS/ros_tracing/ros2_tracing!47
2019-07-09 13:19:32 +00:00
Christophe Bedard
f475f6dee3 Remove -fPIC from tracetools and tracetools_test 2019-07-05 12:52:03 +02:00
Christophe Bedard
3a3aa473ca Switch to ament_cmake_ros for tracetools 2019-07-05 10:42:37 +02:00
Christophe Bedard
04adadf508 Make tracetools a shared lib explicitly 2019-07-04 11:21:53 +02:00
Christophe Bedard
5c32905944 Simplify tests 2019-07-03 10:25:26 +02:00
Christophe Bedard
0288722985 Add tests 2019-07-02 14:35:24 +02:00
Christophe Bedard
a85d4ade5d Use TRACETOOLS_LTTNG_ENABLED instead of WITH_LTTNG in the code 2019-06-18 11:44:57 +02:00
Christophe Bedard
f728cd467b Use tracepoint definition files directly 2019-06-18 10:01:54 +02:00
Christophe Bedard
d0425d2c57 Get package version directly from ament 2019-06-17 11:15:57 +02:00
Christophe Bedard
40349ea3cf Rename status executable 2019-06-05 15:38:49 +02:00
Christophe Bedard
33f227b772 Fix linting errors 2019-06-05 15:35:46 +02:00
Christophe Bedard
ee813caaf1 Extract util methods 2019-06-04 16:37:11 +02:00
Christophe Bedard
51f3c16205 Add linting tests to both tracetools* packages 2019-06-04 13:53:05 +02:00
Christophe Bedard
ad8894d12b Add build files 2019-05-16 13:03:22 +02:00