Repository navigation
Conversation
9f34ed6 to
b38a2b7
Compare
There was a problem hiding this comment.
🟡 Changes recommended
Unsynchronized concurrent pipeline rebuilds can overwrite the shared staging buffer, publish incomplete telemetry slots, and lose saved XRUN counts.
1 open issue
What changed in this PR
This PR reduces telemetry’s system workqueue stack usage by moving collection buffers to static storage, helping prevent stack overflow during telemetry processing.
Changes:
- Move pipeline staging slots and the thread collection context off the stack.
- Update buffer initialization and context access for static storage.
- The supplied diff does not include the stack-size increase mentioned in the description.
| File | Description |
|---|---|
src/kernel/debug/telemetry/telemetry.c |
Moves pipeline and thread collection buffers to static storage and updates their usage. |
Review effort: Balanced
kv2019i
left a comment
There was a problem hiding this comment.
Code looks good, but commit is missing signed-of-by and the commit message mentions increasing stack sizing, but there's no matching change. If that is needed (so both moving data to static object and increasing stack size), that should probably be in separate commit.
5ba3ff6 to
9cb96dc
Compare
Move telemetry collection buffers from the stack to static storage. Signed-off-by: Piotr Hoppe <piotr.hoppe@intel.com>
9cb96dc to
f22b1ee
Compare
PR 11553: test resultsRun date: 2026-11-30 16:27 UTC Tested commit: f22b1eed49f105ee50aa290b96e9baf68d4ceaa7 |

Move telemetry collection buffers from the stack to static storage. Increase the system workqueue stack size to accommodate Xtensa interrupt frames during telemetry processing.