Skip to content

feat(ctrace): add raw input channel selection - #2671

Open
thorstendb-ARM wants to merge 3 commits into
mainfrom
feat/ctrace-channel-selection-1236
Open

thorstendb-ARM wants to merge 3 commits into
mainfrom
feat/ctrace-channel-selection-1236

Conversation

@thorstendb-ARM

Copy link
Copy Markdown
Contributor

Changes

Add repeatable -c / --channel selection for SWO, TB and named buffers, scoped by --target.
Report requested channels absent from all selected targets.

Related to Open-CMSIS-Pack/vscode-cmsis-debugger#1236.

Validation

Linux arm64: 500 unit and 63 integration tests; 100% ctrace source-line coverage.
macOS arm64: passed with 6 platform skips.

Checklist

  • Unit tests added.
  • CLI behavior verified automatically; no manual testing required.
  • Security impact reviewed.
  • Documentation updated.
  • Dependencies and TPIP unchanged.

@github-actions

github-actions Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

Test Results

    6 files     12 suites   14s ⏱️
  563 tests   563 ✅  0 💤 0 ❌
1 689 runs  1 671 ✅ 18 💤 0 ❌

Results for commit 1534711.

♻️ This comment has been updated with latest results.

@thorstendb-ARM
thorstendb-ARM marked this pull request as ready for review October 23, 2026 13:15
@codecov

codecov Bot commented Oct 25, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.46%. Comparing base (6cb5a3c) to head (1534711).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2671      +/-   ##
==========================================
+ Coverage   87.45%   87.46%   +0.01%     
==========================================
  Files         207      208       +1     
  Lines       33545    33579      +34     
==========================================
+ Hits        29336    29370      +34     
  Misses       4209     4209              
Flag Coverage Δ
ctrace-cov 100.00% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
tools/ctrace/src/cli/CliParser.cpp 100.00% <100.00%> (ø)
tools/ctrace/src/control/TraceDirectoryJob.cpp 100.00% <100.00%> (ø)
tools/ctrace/src/model/DiagnosticMessages.cpp 100.00% <100.00%> (ø)
tools/ctrace/src/model/TraceInputChannel.cpp 100.00% <100.00%> (ø)
tools/ctrace/src/tracerun/TraceRunDiscovery.cpp 100.00% <100.00%> (ø)
tools/ctrace/src/tracerun/TraceRunDiscovery.h 100.00% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

This branch has not been deployed

No deployments
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.

1 participant