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

Extend tracing api to support executor id and end task #3627

Merged
merged 1 commit into from
Dec 10, 2024

Conversation

lulf
Copy link
Member

@lulf lulf commented Dec 9, 2024

Allow applications to provide a trace implementation that only needs to implement APIs used by the embassy executor, and provide more context in the event of multiple executors being used.

I also considered creating an embassy-trace, embassy-trace-driver and embassy-trace-driver-rtos-trace to be able to move rtos-trace out of the executor, but I'm not sure if the prospect of alternative tracing implementations makes it worth it. But it would perhaps have made it possible to integrate that into HALs to trace IRQs as well. In any case, perhaps that is future work.

Allow applications to provide a trace implementation that only needs to
implement APIs used by the embassy executor, and provide more context in
the event of multiple executors being used.
@lulf lulf added this pull request to the merge queue Dec 10, 2024
Merged via the queue into main with commit 54b6fe6 Dec 10, 2024
10 checks passed
@lulf lulf deleted the executor-trace-generic branch December 10, 2024 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant