Dario Nieuwenhuis
20822e8d65
executor: add "task metadata" concept, make name a task metadata.
2025-08-29 13:54:11 +02:00
Dario Nieuwenhuis
9db0634f0f
executor: allow trace and rtos-trace to coexist additively.
...
Before, enabling `trace` would enable embassy-native tracing, and
enabling *both* would *disable* embassy-native tracing.
2025-08-29 13:52:13 +02:00
Dario Nieuwenhuis
e4118fa365
executor: do not store task IDs in RAM, we can get it from the pointer every time.
2025-08-29 13:50:58 +02:00
Bart Slinger
b7964df887
add missing feature gate for rtos-trace
2025-08-14 13:54:43 +08:00
Florian Grandel
b861dd1728
embassy-executor: rtos-trace: fix task naming for new tasks
...
Tasks that are spawned after starting SystemViewer were not named. This
change ensures that tasks spawned while SystemViewer is running will be
properly named, too.
Signed-off-by: Florian Grandel <fgrandel@code-for-humans.de>
2025-07-06 19:21:12 +02:00
Kat Perez
3ffa2e4f3f
remove unnecessary trace flags
2025-05-08 16:30:06 -04:00
Kat Perez
dfaab013eb
move SpawnerTraceExt back into Spawner
2025-05-08 14:35:43 -04:00
Kat Perez
e968c47636
update TraceExt trait name for Spawner
2025-05-08 14:04:54 -04:00
Kat Perez
194a3044ac
remove unused task_id
2025-05-08 13:46:41 -04:00
Kat Perez
3b873bb6bb
implement TaskRefTrace for tracing-only fields in TaskRef
2025-05-08 13:40:32 -04:00
Kat Perez
462d04c6d5
move TaskTracker to trace
2025-05-08 13:35:34 -04:00
Kat Perez
8a8deb704f
move spawn_named into trace.rs through TraceExt trait
2025-05-08 11:29:44 -04:00
Kat Perez
8f18810ec6
remove unused tracing API
2025-05-08 10:58:27 -04:00
Kat Perez
b3e13cc6de
make tracing API functions internal
2025-05-08 10:58:07 -04:00
Kat Perez
f2429c212e
fix whitespace in the imports in trace.rs
2025-05-06 11:55:58 -04:00
Kat Perez
6085916714
use an intrusive linked list in TaskHeader to track tasks
2025-05-06 11:47:04 -04:00
Kat Perez
54b3fb6e7a
remove name from TaskRegistry and retrieve from task header instead
2025-05-06 09:27:19 -04:00
Kat Perez
f8f9c38b2e
add a task registry to tracing infrastructure
2025-05-06 08:27:46 -04:00
James Munns
ef3c1b87d1
Minor docs improvements
2025-04-01 14:35:21 +02:00
James Munns
2e474b7df2
Remove notes about stability
2025-04-01 14:30:36 +02:00
James Munns
3e25a7be86
Small grammar fixes
2025-04-01 14:27:32 +02:00
James Munns
c3efb85b85
Fix task_end callback
2025-04-01 14:23:39 +02:00
James Munns
8a8e450053
Reorder doc comments for format reasons
2025-04-01 14:12:58 +02:00
James Munns
84cd416bed
Finish trailing sentence
2025-04-01 14:11:42 +02:00
James Munns
882e2180a4
Add docs, add task_end
trace point
2025-04-01 14:06:04 +02:00
Dario Nieuwenhuis
2f2e2c6031
Make integrated-timers
the default, remove Cargo feature.
2024-12-15 18:49:57 +01:00
Ulf Lilleengen
f0be2fdce4
Extend tracing api to support executor id and end task
...
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.
2024-12-09 15:16:03 +01:00