Describe The Problem To Be Solved
The trace specification has evolved to support selection from multiple trace buffers in a system.
These changes have an impact on default file names (input: *.ctrace-run.yml / *.<channel>.raw, output: *.<channel>.csv) which need to be reflected in the ctrace decoder.
Related specification changes in PR Open-CMSIS-Pack/cmsis-toolbox#675
(Optional): Suggest A Solution
- Extend default trace output file naming scheme to
TB, support name extension as specified.
- If multiple
trace: child nodes available in cbuild-run file, then use the first enabled. As per spec there currently must be only one list entry. But please gracefully ignore potential other entries in case we need to experiment with multiple trace sinks and hence multiple list nodes.
- TB naming scheme also applies to CSV output files.
Update, 04/09/2026: Discussion showed we may need to store more information in *.ctrace-run.yml before taking action. ctrace tool is not supposed to parse *.cbuild-run.yml directly which holds information on active trace sink selection.
Describe The Problem To Be Solved
The trace specification has evolved to support selection from multiple trace buffers in a system.
These changes have an impact on default file names (input:
*.ctrace-run.yml/*.<channel>.raw, output:*.<channel>.csv) which need to be reflected in thectracedecoder.Related specification changes in PR Open-CMSIS-Pack/cmsis-toolbox#675
(Optional): Suggest A Solution
TB, support name extension as specified.trace:child nodes available incbuild-runfile, then use the first enabled. As per spec there currently must be only one list entry. But please gracefully ignore potential other entries in case we need to experiment with multiple trace sinks and hence multiple list nodes.Update, 04/09/2026: Discussion showed we may need to store more information in
*.ctrace-run.ymlbefore taking action.ctracetool is not supposed to parse*.cbuild-run.ymldirectly which holds information on active trace sink selection.