Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: [draft] add jazzy tracepoint definition #352

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 49 additions & 0 deletions docs/design/trace_points/initialization_trace_points.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,17 @@ erDiagram
string group_type_name
}

callback_group_to_executor_entity_collector{
address executor_entities_collector_addr
address callback_group_addr
address callback_group_collection_addr
}

executor_entity_collector_to_executor{
address executor_addr
address executor_entities_collector_addr
}

add_callback_group_static_executor{
address entities_collector_addr
address callback_group_addr
Expand Down Expand Up @@ -200,11 +211,20 @@ erDiagram
add_callback_group_static_executor ||--o{ callback_group_add_subscription : callback_group_addr
add_callback_group_static_executor ||--o{ callback_group_add_service : callback_group_addr
add_callback_group_static_executor ||--o{ callback_group_add_client : callback_group_addr
callback_group_to_executor_entity_collector ||--|| executor_entity_collector_to_executor: executor_entities_collector_addr
executor_entity_collector_to_executor ||--|| construct_executor: executor_addr
executor_entity_collector_to_executor ||--|| construct_static_executor: executor_addr

add_callback_group ||--o{ callback_group_add_timer : callback_group_addr
add_callback_group ||--o{ callback_group_add_subscription : callback_group_addr
add_callback_group ||--o{ callback_group_add_service : callback_group_addr
add_callback_group ||--o{ callback_group_add_client : callback_group_addr

callback_group_to_executor_entity_collector ||--o{ callback_group_add_timer : callback_group_addr
callback_group_to_executor_entity_collector ||--o{ callback_group_add_subscription : callback_group_addr
callback_group_to_executor_entity_collector ||--o{ callback_group_add_service : callback_group_addr
callback_group_to_executor_entity_collector ||--o{ callback_group_add_client : callback_group_addr

callback_group_add_timer ||--|| TIMER_HANDLE : callback_group_addr
callback_group_add_subscription ||--|| SUBSCRIPTION_HANDLE : callback_group_addr
callback_group_add_service ||--|| SERVICE_HANDLE : callback_group_addr
Expand Down Expand Up @@ -492,6 +512,11 @@ Sampled items
- char \* executor_type_name
- int64_t init_timestamp

<prettier-ignore-start>
!!!Note
`entities_collector_addr` has been removed after jazzy.
<prettier-ignore-end>

---

#### ros2_caret:add_callback_group
Expand Down Expand Up @@ -565,3 +590,27 @@ Sampled items
- void \* callback_group_addr
- void \* client_handle
- int64_t init_timestamp

#### callback_group_to_executor_entity_collector

Sampled items

- void \* executor_entities_collector_addr
- void \* callback_group_addr
- void \* callback_group_collection_addr
- int64_t init_timestamp

hooked function: `ExecutorEntitiesCollector::add_callback_group_to_collection`

#### executor_entity_collector_to_executor

Sampled items

- void \* executor_addr
- void \* executor_entities_collector_addr
- int64_t init_timestamp

hooked function:

- `Executor::Executor(const std::shared_ptr<rclcpp::Context> & context)`
- `Executor::Executor(const rclcpp::ExecutorOptions & options)`
Loading