Commit graph

772 commits

Author SHA1 Message Date
Christophe Bedard
6e9b2f2fbd Define metavars to simply ros2 trace usage info for events and context
Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
2020-03-13 17:50:37 -04:00
Christophe Bedard
31f63d2f27 Merge branch '23-make-users-of-tracetools-automatically-use-rdynamic' into 'master'
Export "-rdynamic" link flag for downstream packages

Closes #23

See merge request micro-ROS/ros_tracing/ros2_tracing!156
2020-03-09 03:52:56 +00:00
Christophe Bedard
cb149f8bc0 Only target tracetools transitively for tracetools_test tests
Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
2020-03-08 23:42:07 -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
2691fae27f Merge branch '72-setup-lttng-session-daemon' into 'master'
Start LTTng session daemon if there isn't one

Closes #72

See merge request micro-ROS/ros_tracing/ros2_tracing!155
2020-03-07 21:43:59 +00:00
Christophe Bedard
e2893201b0 Start a session daemon if there isn't one before setting up tracing
Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
2020-03-07 16:25:35 -05:00
Christophe Bedard
e47e3f2663 Remove lttng-sessiond call from CI config
Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
2020-03-07 16:25:35 -05:00
Christophe Bedard
3614312c4e Merge branch '70-log-warn-if-shared-lib-cannot-be-found-by-ldpreload-action' into 'master'
Add logs for LdPreload action on success or failure

Closes #70

See merge request micro-ROS/ros_tracing/ros2_tracing!154
2020-03-07 19:02:13 +00:00
Christophe Bedard
8cb8e315eb Document what kind of lib_name LdPreload expects
Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
2020-03-07 13:57:50 -05:00
Christophe Bedard
337d80c847 Add logs for LdPreload action on success or failure
Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
2020-03-07 13:56:13 -05:00
Christophe Bedard
3c02ef058c Merge branch '0.3.0' into 'master'
Version 0.3.0

See merge request micro-ROS/ros_tracing/ros2_tracing!153
2020-03-04 17:33:35 +00:00
Christophe Bedard
eaa2b10f77 0.3.0
Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
2020-03-04 09:27:31 -08:00
Christophe Bedard
f768c59111 Update changelogs
Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
2020-03-04 09:23:59 -08:00
Christophe Bedard
42dcf77a92 Merge branch 'mention-disabling-tracing' into 'master'
Mention disabling tracing

See merge request micro-ROS/ros_tracing/ros2_tracing!152
2020-03-04 17:02:25 +00:00
Christophe Bedard
4b39fd43aa Change wording
Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
2020-03-04 08:56:11 -08:00
Christophe Bedard
608ae8517d Mention command for disabling tracing when building
Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
2020-03-04 08:54:28 -08:00
Christophe Bedard
0125b73895 Merge branch 'point-to-lttng-2-11' into 'master'
Point to LTTng 2.11 for Ubuntu Focal/ROS 2 Foxy

Closes #66 and #15

See merge request micro-ROS/ros_tracing/ros2_tracing!151
2020-03-04 16:13:37 +00:00
Christophe Bedard
09ec14427d Point to LTTng 2.11 for Ubuntu Focal/ROS 2 Foxy and remove version note
Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
2020-03-04 10:50:52 -05:00
Christophe Bedard
9418d92723 Merge branch 'switch-to-target-compile-definitions' into 'master'
Use target_compile_definitions instead of add_definitions for version

See merge request micro-ROS/ros_tracing/ros2_tracing!150
2020-03-03 23:30:11 +00: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
b88c023ffe Merge branch 'format-cmakelists' into 'master'
Fix formatting in CMakeLists.txt

See merge request micro-ROS/ros_tracing/ros2_tracing!149
2020-03-03 22:29:47 +00: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
b559a740cd Merge branch 'define-tracepoint-suppress-pclint-warnings' into 'master'
Define TRACEPOINT to suppress warnings from strict(er) linters

See merge request micro-ROS/ros_tracing/ros2_tracing!148
2020-03-03 18:32:13 +00:00
Christophe Bedard
51f76123d1 Define TRACEPOINT to suppress warnings from strict(er) linters
Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
2020-03-03 10:23:46 -08:00
Christophe Bedard
a6432f958f Merge branch 'add-ament-mypy-tests' into 'master'
Add mypy tests through ament_mypy

See merge request micro-ROS/ros_tracing/ros2_tracing!147
2020-03-01 21:06:37 +00:00
Christophe Bedard
934a0899b9 Handle empty __doc__ when checking lttng module version
Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
2020-03-01 16:00:56 -05:00
Christophe Bedard
9450bfeea9 Add mypy tests through ament_mypy
Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
2020-03-01 15:55:16 -05:00
Christophe Bedard
aa59950fe2 Merge branch 'remove-trailing-slash-install-include' into 'master'
Remove trailing slash from destination include directory

See merge request micro-ROS/ros_tracing/ros2_tracing!146
2020-03-01 14:55:22 +00: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
75f38fea8b Merge branch 'enhance-ci-config' into 'master'
Enhance CI config

See merge request micro-ROS/ros_tracing/ros2_tracing!145
2020-03-01 03:33:05 +00:00
Christophe Bedard
ee114b660c Merge branch '69-only-include-select-headers' into 'master'
Only include headers that we actually use and need

Closes #69

See merge request micro-ROS/ros_tracing/ros2_tracing!144
2020-03-01 03:20:23 +00:00
Christophe Bedard
35c8481b99 Use console_cohesion when building and testing
Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
2020-02-29 20:19:56 -05:00
Christophe Bedard
d1c9dfa026 Print LTTng version before building
Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
2020-02-29 20:19:56 -05:00
Christophe Bedard
92ce0dd51a Use lowercase CI variables
Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
2020-02-29 20:19:56 -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
31dad55d54 Merge branch 'switch-to-foxy-ci' into 'master'
Switch to foxy CI images

See merge request micro-ROS/ros_tracing/ros2_tracing!142
2020-02-29 19:24:41 +00:00
Christophe Bedard
0e94145cf6 Merge branch 'refactor-cmakelists-and-config' into 'master'
Refactor cmakelists and config

See merge request micro-ROS/ros_tracing/ros2_tracing!143
2020-02-29 19:23:53 +00: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
51e64ef7cd Switch to foxy CI images
Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
2020-02-29 10:56:10 -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
Christophe Bedard
40092071e9 Use '#ifdef' instead of '#if defined()`
Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
2020-02-28 17:39:18 -05:00
Christophe Bedard
b2d13721fa Merge branch 'cppcheck_include_dirs' into 'master'
Setting AMENT_CMAKE_CPPCHECK_ADDITIONAL_INCLUDE_DIRS with lttng

See merge request micro-ROS/ros_tracing/ros2_tracing!140
2020-02-28 17:10:40 +00: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
d3bc0e87d1 Merge branch 'rclcpp-switch-back-to-upstream' into 'master'
Revert "Point instrumented rclcpp branch to service callback registration fix"

See merge request micro-ROS/ros_tracing/ros2_tracing!141
2020-02-26 21:11:11 +00:00
Christophe Bedard
f70b270701 Revert "Point instrumented rclcpp branch to service callback registration fix"
This reverts commit ef64e4cb18.
2020-02-26 16:05:41 -05:00
Christophe Bedard
dad8e5e307 Merge branch '68-callback-registration-for-services-is-not-covered-by-tests' into 'master'
Update tests to cover service callback registration

Closes #68

See merge request micro-ROS/ros_tracing/ros2_tracing!138
2020-02-09 19:54:20 +00:00
Christophe Bedard
ef64e4cb18 Point instrumented rclcpp branch to service callback registration fix 2020-02-08 19:42:41 -05:00
Christophe Bedard
1b73e4be94 Merge and update service test to cover callback registration 2020-02-08 19:23:05 -05:00