Skip to content

readme: add some initial context around developer tools#10596

Open
lgirdwood wants to merge 8 commits intothesofproject:mainfrom
lgirdwood:readme-debug
Open

readme: add some initial context around developer tools#10596
lgirdwood wants to merge 8 commits intothesofproject:mainfrom
lgirdwood:readme-debug

Conversation

@lgirdwood
Copy link
Member

High level documentation describing developer and debug tooling.

High level documentation describing developer and debug tooling.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Copilot AI review requested due to automatic review settings March 4, 2026 11:52
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds initial high-level documentation for SOF developer/debug tooling, plus expands the helper scripts README to better describe common build/test workflows.

Changes:

  • Added new README documents for debug subsystems: tester harness, telemetry/perf, GDB stub, and debug_stream.
  • Restructured and expanded scripts/Readme.md with clearer script names/options and additional build/testbench guidance.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 8 comments.

Show a summary per file
File Description
src/debug/tester/readme.md Documents the tester “pseudo-component” and how to enable/extend it.
src/debug/telemetry/readme.md Documents telemetry/performance measurement capabilities and Kconfig toggles.
src/debug/gdb/readme.md Documents the GDB remote debugging stub architecture and usage.
src/debug/debug_stream/readme.md Documents debug_stream purpose, enablement, and host extraction.
scripts/Readme.md Reworks build/tooling/testbench/Docker documentation for developer scripts.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.


## Architecture

The architecture functions identical to an IPC Version 4 standard module, containing `comp_driver`, `comp_dev`, `comp_buffer` wrappers and implementing `tester_params()` handlers.
Copy link

Copilot AI Mar 4, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This describes the module as implementing tester_params() handlers, but the implementation uses the module interface callbacks (e.g., .set_configuration = tester_set_configuration) and does not appear to define tester_params(). Update the wording to match the actual entry points used by the tester module.

Copilot uses AI. Check for mistakes.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot open a new pull request to apply changes based on this feedback

lgirdwood and others added 7 commits March 4, 2026 16:18
Typo: “I/O Throughout Tracking” should be “I/O Throughput Tracking”.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Liam Girdwood <lgirdwood@gmail.com>
The doc references MEMORY_WIN_2, but that identifier isn’t used anywhere else in this repository (the implementation uses the ADSP debug window slot mechanism via adsp_debug_window.h / ADSP_DW / ADSP_DW_SLOT_DEBUG_STREAM).

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Liam Girdwood <lgirdwood@gmail.com>
The numbered list has two consecutive items labeled “1)”.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Liam Girdwood <lgirdwood@gmail.com>
Minor capitalization: “github upstream” should be “GitHub upstream”.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Liam Girdwood <lgirdwood@gmail.com>
Remove example test password.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Liam Girdwood <lgirdwood@gmail.com>
The phrase “Battering memory allocations arrays” is ungrammatical/unclear.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Liam Girdwood <lgirdwood@gmail.com>
The instructions reference tester.c:tester_set_params, but that function doesn’t exist in src/debug/tester/tester.c (test selection happens in tester_init(), and runtime configuration is handled by tester_set_configuration()).

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Liam Girdwood <lgirdwood@gmail.com>
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.

3 participants