Commit graph

327 commits

Author SHA1 Message Date
Christophe Bedard
96fac6b737 Fix linter errors 2019-12-31 13:58:25 -05:00
Christophe Bedard
154ad1af7d Add script entrypoint that uses AutoProcessor 2019-12-31 13:53:30 -05:00
Christophe Bedard
db9e94b1dc Add AutoProcessor 2019-12-31 13:52:44 -05:00
Christophe Bedard
acce73f26d Raise error if MemoryUsageHandler is instanciated directly 2019-12-31 13:52:25 -05:00
Christophe Bedard
b9e15aac41 Make sure Processor is is given at least one EventHandler 2019-12-31 13:20:56 -05:00
Christophe Bedard
0ceea3025c Extract get_event_names() method 2019-12-31 13:20:22 -05:00
Christophe Bedard
6412798a47 Define a (single) required event for Ros2Handler 2019-12-31 13:19:59 -05:00
Christophe Bedard
e374419665 Make required events a set 2019-12-31 13:19:31 -05:00
Christophe Bedard
938cc263d5 Merge branch 'move-convert-if-needed-function-to-loading-submodule' into 'master'
Move input path inspection + optional conversion logic to loading submodule

See merge request micro-ROS/ros_tracing/tracetools_analysis!39
2019-12-29 19:39:20 +00:00
Christophe Bedard
73b5ed547d Make do_convert_if_needed True by default 2019-12-29 14:25:08 -05:00
Christophe Bedard
9c629e8bf7 Clarify docstring 2019-12-29 14:16:26 -05:00
Christophe Bedard
7f54198921 Extract get_input_path function to be used by all scripts 2019-12-29 14:09:59 -05:00
Christophe Bedard
d2e0a5b6cd Move input path inspection + optional conversion to loading submodule 2019-12-29 14:04:49 -05:00
Christophe Bedard
6b28456ac8 Merge branch 'required-events' into 'master'
Allow EventHandlers to provide list of required events

See merge request micro-ROS/ros_tracing/tracetools_analysis!38
2019-12-29 18:11:45 +00:00
Christophe Bedard
c6df464d58 Remove some ust memory allocation events from list of required events 2019-12-29 13:01:15 -05:00
Christophe Bedard
9f500d2061 Update EventHandler/Processor tests after adding required events 2019-12-29 13:00:24 -05:00
Christophe Bedard
2fbab32816 Add optional check for required events before processing 2019-12-29 12:59:54 -05:00
Christophe Bedard
79f702e621 Fix assert condition 2019-12-29 12:58:56 -05:00
Christophe Bedard
e4d10e9e88 Allow EventHandlers to declare list of required events 2019-12-29 12:16:09 -05:00
Christophe Bedard
694a0d852b Merge branch 'kernel-memory-analysis' into 'master'
Add kernel memory usage analysis

See merge request micro-ROS/ros_tracing/tracetools_analysis!37
2019-12-29 16:38:13 +00:00
Christophe Bedard
1e83053cc1 Fix linter errors 2019-12-29 11:35:07 -05:00
Christophe Bedard
bd37b4aa0f Update memory_usage notebook 2019-12-29 11:26:06 -05:00
Christophe Bedard
90cbfbfe40 Move max memory usage computation to data util 2019-12-29 11:25:50 -05:00
Christophe Bedard
6842b7c9b3 Extract generic MemoryUsageHandler to use as base class for ust&kernel 2019-12-28 17:32:07 -05:00
Christophe Bedard
2f46004154 Add kernel memory alloc/free events to memory_usage launchfile 2019-12-28 17:29:51 -05:00
Christophe Bedard
66282c9569 Merge branch 'add-progress-display-cleanup-method' into 'master'
Add cleanup method for ProcessingProgressDisplay

See merge request micro-ROS/ros_tracing/tracetools_analysis!36
2019-12-27 22:02:51 +00:00
Christophe Bedard
c3725c1eda Add cleanup method for ProcessingProgressDisplay 2019-12-27 16:59:25 -05:00
Christophe Bedard
db1e0ffa65 Merge branch '18-implement-memory-usage-analysis' into 'master'
Implement userspace memory usage analysis

Closes #18

See merge request micro-ROS/ros_tracing/tracetools_analysis!27
2019-12-27 21:41:23 +00:00
Christophe Bedard
3bb540d1b2 Add memory_usage entrypoint script 2019-12-27 16:36:18 -05:00
Christophe Bedard
4207732ff0 Explicitly cast tid to int 2019-12-27 15:59:31 -05:00
Christophe Bedard
8d3f842518 Add userspace memory usage analysis 2019-12-27 14:35:01 -05:00
Christophe Bedard
1115674b9f Merge branch 'create-script-entrypoints-directory' into 'master'
Fix cb_durations script linter errors and move to scripts directory

See merge request micro-ROS/ros_tracing/tracetools_analysis!33
2019-12-27 19:27:51 +00:00
Christophe Bedard
de3dd7ff86 Fix cb_durations script linter errors and move to scripts directory 2019-12-27 14:24:27 -05:00
Christophe Bedard
d152e1c017 Merge branch 'fix-docstrings-imperative' into 'master'
Use imperative mood in constructor docstrings

See merge request micro-ROS/ros_tracing/tracetools_analysis!35
2019-12-27 19:23:51 +00:00
Christophe Bedard
dadc355b06 Use imperative mood in constructor docstrings 2019-12-27 14:17:13 -05:00
Christophe Bedard
bdac887d5f Merge branch 'register-in-ament-index' into 'master'
Register packages in the ament index

See merge request micro-ROS/ros_tracing/tracetools_analysis!34
2019-12-27 18:59:52 +00:00
Christophe Bedard
574034bad4 Register packages in the ament index 2019-12-27 13:59:32 -05:00
Luetkebohle Ingo (CR/AEX3)
d4018ed184 Add callback-durations analysis script 2019-12-09 15:27:45 +01:00
Christophe Bedard
6eb50bf807 Merge branch '0.2.2' into 'master'
Version 0.2.2

See merge request micro-ROS/ros_tracing/tracetools_analysis!32
2019-11-19 21:39:53 +00:00
Christophe Bedard
4c7f7d8943 0.2.2 2019-11-19 13:38:15 -08:00
Christophe Bedard
38804e4370 Update changelogs 2019-11-19 13:37:22 -08:00
Christophe Bedard
68bdae8fbf Merge branch 'add-hide-results-flag' into 'master'
Add flag for hiding processing results with the process verb

See merge request micro-ROS/ros_tracing/tracetools_analysis!31
2019-11-17 22:40:48 +00:00
Christophe Bedard
750c23a3c7 Add flag for hiding processing results with the process verb 2019-11-17 14:38:48 -08:00
Christophe Bedard
8231cabf33 Merge branch 'extract-print-model-method' into 'master'
Extract print_model() methods to DataModel.print_data()

See merge request micro-ROS/ros_tracing/tracetools_analysis!30
2019-11-17 22:30:44 +00:00
Christophe Bedard
2527efe69f Update process() API method to use print_data() 2019-11-17 14:27:10 -08:00
Christophe Bedard
1be3ca06ef Expose DataModel.print_data() through Processor.print_data() 2019-11-17 14:25:18 -08:00
Christophe Bedard
3eac741a4c Rename to print_data() (oops) 2019-11-17 14:15:49 -08:00
Christophe Bedard
7347900349 Extract print_model() methods to DataModel.print() 2019-11-17 13:53:09 -08:00
Christophe Bedard
c12488ecf9 Merge branch 'refactor-data-model-utils' into 'master'
Split utils file into multiple files inside a submodule

See merge request micro-ROS/ros_tracing/tracetools_analysis!29
2019-11-17 21:45:08 +00:00
Christophe Bedard
39a425379e Fix linter errors 2019-11-17 13:42:06 -08:00