Christophe Bedard
|
a915fa55f0
|
Make sure platform is Linux before checking if LTTng is installed
Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
|
2020-05-14 10:25:30 -04:00 |
|
Christophe Bedard
|
eacb7c3c0b
|
Fail gracefully when trying to trace if LTTng is not installed
Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
|
2020-05-14 09:38:23 -04: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
|
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
|
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
|
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
|
e585f0eefe
|
Convert lists of event & context names to sets
|
2020-01-18 21:21:23 -05: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
|
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
|
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
|
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
|
bae6f79874
|
Add kmem_mm_page_alloc|free to default kernel events
|
2019-12-28 16:36:16 -05:00 |
|
Christophe Bedard
|
e33ca9b9d7
|
Remove sched_waking/sched_wakeup from the default kernel events list
|
2019-12-28 16:35:53 -05:00 |
|
Christophe Bedard
|
bcb0dc9454
|
Add typing information
|
2019-12-08 14:02:08 -08:00 |
|
Christophe Bedard
|
3d3cbe9ec3
|
Remove duplicated code for trace command
|
2019-12-08 14:01:57 -08:00 |
|
Christophe Bedard
|
d5712c2645
|
Make printing list of enabled events more readable
|
2019-11-17 12:33:02 -08:00 |
|
Christophe Bedard
|
d0eb897ab0
|
Add new rclcpp_subscription_init tracepoint to list
|
2019-11-14 14:35:07 -08:00 |
|
Christophe Bedard
|
caac5cafe3
|
Re-order args
|
2019-10-12 17:29:06 -07:00 |
|
Christophe Bedard
|
af69745110
|
Extract empty lttng interface functions to another file
|
2019-08-16 12:00:37 +02:00 |
|
Christophe Bedard
|
f7cd5734ea
|
Extract lttng interface implementation functions to another file
|
2019-08-16 09:36:04 +02:00 |
|
Christophe Bedard
|
a72eda9957
|
Fix linter error
|
2019-08-15 13:23:14 +02:00 |
|
Christophe Bedard
|
c0b86bd4db
|
Create tracing_supported() util function
|
2019-08-15 13:14:53 +02:00 |
|
Christophe Bedard
|
8c6486f5ba
|
Simplify check for lttng import
|
2019-08-15 09:48:35 +02:00 |
|
Christophe Bedard
|
98cf3ad377
|
Silently do nothing if lttng cannot be imported
|
2019-08-15 09:45:28 +02:00 |
|
Christophe Bedard
|
9db80cc39b
|
Remove unused import
|
2019-08-04 14:25:31 +02:00 |
|
Christophe Bedard
|
bc09325804
|
Fix bad quotes
|
2019-08-04 13:30:41 +02:00 |
|
Christophe Bedard
|
5b2280d543
|
Add append_timestamp option for trace action
|
2019-08-04 13:04:44 +02:00 |
|
Christophe Bedard
|
68b7ec5ad2
|
Fix typos
|
2019-07-05 14:47:01 +02:00 |
|
Christophe Bedard
|
1eacc66c97
|
Centralize default trace location
|
2019-07-05 14:46:02 +02:00 |
|
Christophe Bedard
|
209b174dfb
|
Fix trace args description
|
2019-06-28 08:58:01 +02:00 |
|
Christophe Bedard
|
e97a649c21
|
Remove temporary workaround for python3-lttng
|
2019-06-25 15:13:56 +02:00 |
|
Christophe Bedard
|
82d2d26f9a
|
Fix lint and formatting errors
|
2019-06-24 16:13:42 +02:00 |
|
Christophe Bedard
|
d6d5e943a7
|
Only enable a few kernel events by default
|
2019-06-24 14:10:03 +02:00 |
|
Christophe Bedard
|
8000f50e65
|
Document and format lttng interface module
|
2019-06-24 13:38:34 +02:00 |
|
Christophe Bedard
|
dd8241cc1d
|
Add file docstrings
|
2019-06-24 10:45:29 +02:00 |
|
Christophe Bedard
|
a32df113f5
|
Add copyright headers
|
2019-06-24 10:36:39 +02:00 |
|
Christophe Bedard
|
a507bbce6e
|
Add 'tracetools_trace/' from commit '29b1c6d50b '
git-subtree-dir: tracetools_trace
git-subtree-mainline: 4d434fa182
git-subtree-split: 29b1c6d50b
|
2019-06-24 10:01:43 +02:00 |
|