Commit graph

631 commits

Author SHA1 Message Date
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
Christophe Bedard
bae71f0cad Make order check optional for assertMatchingField() 2020-02-08 19:22:42 -05:00
Christophe Bedard
ac74477458 Extract more assertValidPointer() method from assertValidPointer() 2020-02-08 19:22:17 -05:00
Christophe Bedard
2796b59bd4 Merge branch 'remove-unused-repos-files' into 'master'
Remove unused .repos files

See merge request micro-ROS/ros_tracing/ros2_tracing!137
2020-02-05 01:05:57 +00:00
Christophe Bedard
82d6e5fb70 Remove unused .repos files 2020-02-04 19:53:38 -05:00
Christophe Bedard
0e2d958a18 Merge branch 'add-ci-badge' into 'master'
Add CI badge in README

See merge request micro-ROS/ros_tracing/ros2_tracing!136
2020-01-26 16:46:41 +00:00
Christophe Bedard
9cc7b09f3b Add CI badge in README 2020-01-26 11:39:36 -05:00
Christophe Bedard
c31d184e76 Merge branch 'convert-names-lists-to-sets' into 'master'
Convert lists of event & context names to sets

See merge request micro-ROS/ros_tracing/ros2_tracing!135
2020-01-19 15:16:47 +00:00
Christophe Bedard
b9b23fd3d7 Apply relevant formatting 2020-01-19 10:04:24 -05:00
Christophe Bedard
9dd8a2efb2 Fix default value for events_kernel in TraceTestCase 2020-01-19 10:03:33 -05:00
Christophe Bedard
e585f0eefe Convert lists of event & context names to sets 2020-01-18 21:21:23 -05:00
Christophe Bedard
a0a233fc3c Merge branch 'update-context-types' into 'master'
Add more context types and refactor mapping between name and constant

See merge request micro-ROS/ros_tracing/ros2_tracing!134
2020-01-18 20:57:06 +00:00
Christophe Bedard
c50a66a11d Add more context types and refactor mapping between name and constant 2020-01-18 15:47:20 -05:00
Christophe Bedard
66a3bf65c3 Merge branch 'add-lttng-version-requirement' into 'master'
Add LTTng version requirement

See merge request micro-ROS/ros_tracing/ros2_tracing!133
2020-01-10 23:52:34 +00:00
Christophe Bedard
d54b094509 Mention that LTTng 2.11 has not been tested yet 2020-01-10 18:29:02 -05:00
Christophe Bedard
1cbe159f45 Mention LTTng >=2.11.7 requirement in README 2020-01-10 18:28:49 -05:00
Christophe Bedard
a900bd6f71 Merge branch 'handle-no-lttng-python-module-found' into 'master'
Improve handling and reporting of LTTng Python module status

See merge request micro-ROS/ros_tracing/ros2_tracing!132
2020-01-10 16:22:46 +00:00
Christophe Bedard
38e0afe417 Modify error message 2020-01-09 21:41:39 -05:00
Christophe Bedard
da9f4230a8 Print to stderr instead of raising error if version does not match 2020-01-09 20:57:14 -05:00
Christophe Bedard
3980c2dd01 Check version of LTTng Python module and raise error if below 2.10.7 2020-01-09 20:24:14 -05:00
Christophe Bedard
3a715c7a2e Add more information to comment about lttng stub functions 2020-01-09 19:53:34 -05:00
Christophe Bedard
1366f709e1 Raise RuntimeError instead of printing warning if lttng module not found 2020-01-09 19:53:09 -05:00
Christophe Bedard
69ba4eadc4 Print to stderr if lttng Python package is not found 2020-01-09 11:54:46 -05:00
Christophe Bedard
1328c9a665 Merge branch 'add-trace-action-debug-log' into 'master'
Add logs for trace action init and fini

See merge request micro-ROS/ros_tracing/ros2_tracing!130
2020-01-08 18:44:21 +00:00
Christophe Bedard
455aec22d3 Fix lint errors 2020-01-08 12:57:31 -05:00
Christophe Bedard
2e9b2b7ee8 Add logs for trace action init and fini 2020-01-08 12:41:53 -05:00
Christophe Bedard
c2776febad Merge branch 'expose-context-names' into 'master'
Expose enabling of context names

Closes #44

See merge request micro-ROS/ros_tracing/ros2_tracing!129
2020-01-01 20:03:54 +00:00
Christophe Bedard
fe40314f01 Format 2020-01-01 14:23:03 -05:00
Christophe Bedard
d2916b0aa7 Add TODO about making ust/kernel context separate 2020-01-01 14:12:44 -05:00
Christophe Bedard
cc459456f0 Expose context enabling through CLI and Trace action 2020-01-01 14:12:23 -05:00
Christophe Bedard
842b5d7fe0 Add tid to context map 2020-01-01 14:11:35 -05:00
Christophe Bedard
d387d427db Refine default context names list 2020-01-01 14:11:19 -05:00
Christophe Bedard
946b57ec6f Rename print_events_list() to print_names_list() 2020-01-01 14:10:51 -05:00
Christophe Bedard
f5e37b21d8 Merge branch 'update-readme' into 'master'
Update README

See merge request micro-ROS/ros_tracing/ros2_tracing!128
2020-01-01 17:28:43 +00:00
Christophe Bedard
0e54554997 Change README title to ros2_tracing 2020-01-01 12:15:19 -05:00
Christophe Bedard
22b5fcb9da Mention tracetools_analysis at the end of the README 2020-01-01 12:15:07 -05:00
Christophe Bedard
d63eb3d061 Merge branch 'update-doc' into 'master'
Update analysis architecture diagram after moving ownership of DataModel

See merge request micro-ROS/ros_tracing/ros2_tracing!127
2020-01-01 05:33:46 +00:00
Christophe Bedard
ec2798d712 Update analysis architecture diagram after moving ownership of DataModel 2020-01-01 00:21:30 -05:00
Christophe Bedard
10caca0b69 Merge branch 'update-design-doc-toc' into 'master'
Update table of content for design document

See merge request micro-ROS/ros_tracing/ros2_tracing!126
2020-01-01 03:01:00 +00:00
Christophe Bedard
53486febd4 Update table of content for design document 2019-12-31 21:48:03 -05:00
Christophe Bedard
d7875ccd74 Merge branch 'enhance-doc' into 'master'
Enhance and update doc

See merge request micro-ROS/ros_tracing/ros2_tracing!125
2020-01-01 00:07:37 +00:00
Christophe Bedard
5f9786c9f5 Add section describing analysis design 2019-12-31 18:04:36 -05:00