Skip to content

ctrace: Support default file name scheme changes in spec (for TB channel) #2573

Description

@jreineckearm

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions