Commit graph

737 commits

Author SHA1 Message Date
Christophe Bedard
9c464ffb71 Add <test_depend> on python3-pytest-cov for tracetools_test
Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
2020-04-18 13:27:01 -04:00
Christophe Bedard
49a75500bc Call ament_add_pytest_test() only once for tracetools_test
Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
2020-04-18 13:22:33 -04:00
Christophe Bedard
c3ea84b4b9 Merge branch 'patch-1' into 'master'
use ament_export_targets() instead of deprecated ament_export_interfaces()

See merge request micro-ROS/ros_tracing/ros2_tracing!163
2020-04-09 19:13:00 +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
e69c0cd505 Merge branch '81-testutils-valid_symbol_funcptr-fails' into 'master'
Update tracetools' CMake config to use modern CMake after ament_cmake change

Closes #81

See merge request micro-ROS/ros_tracing/ros2_tracing!162
2020-04-09 14:33:28 -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
846f77f933 Merge branch '78-launch_ros-get_default_launch_description-is-now-deprecated' into 'master'
Remove launch_ros.get_default_launch_description

Closes #78

See merge request micro-ROS/ros_tracing/ros2_tracing!160
2020-03-18 14:42:10 +00:00
Christophe Bedard
3079cfc568 Remove launch_ros.get_default_launch_description
Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
2020-03-18 10:33:22 -04:00
Christophe Bedard
15e09dfb53 Merge branch 'do-not-source-before-testing' into 'master'
Simplify sourcing in CI config

See merge request micro-ROS/ros_tracing/ros2_tracing!159
2020-03-14 21:07:55 +00:00
Christophe Bedard
f1a8b73217 Do not source before testing for other jobs
Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
2020-03-14 16:53:45 -04:00
Christophe Bedard
88c57e72e4 Source setup file instead of local_setup for tracing_enabled job
Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
2020-03-14 16:53:18 -04:00
Christophe Bedard
8b91e0bcc6 Merge branch '75-ros2-trace-exposes-ust-events-but-calls-them-ros-events' into 'master'
Generalize "ROS UST" events to just "userspace" in ros2 trace

Closes #75

See merge request micro-ROS/ros_tracing/ros2_tracing!158
2020-03-13 22:39:49 +00:00
Christophe Bedard
50ae44e73d Switch to DEFAULT_EVENTS_UST instead of DEFAULT_EVENTS_ROS
Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
2020-03-13 18:27:08 -04:00
Christophe Bedard
42823be8d5 Mention "userspace" events instead or "ROS UST" events
Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
2020-03-13 18:26:31 -04:00
Christophe Bedard
64c46ee37c Merge branch '74-ros2-trace-usage-info-is-rather-verbose' into 'master'
Make ros2 trace usage info less rather verbose

Closes #74

See merge request micro-ROS/ros_tracing/ros2_tracing!157
2020-03-13 22:01:20 +00:00
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