Skip to content

Added coresight reset all and random sinks scripts#393

Open
Rohan-in-Qualcomm wants to merge 1 commit into
qualcomm-linux:mainfrom
Rohan-in-Qualcomm:debug-smmu-cs-reset
Open

Added coresight reset all and random sinks scripts#393
Rohan-in-Qualcomm wants to merge 1 commit into
qualcomm-linux:mainfrom
Rohan-in-Qualcomm:debug-smmu-cs-reset

Conversation

@Rohan-in-Qualcomm

@Rohan-in-Qualcomm Rohan-in-Qualcomm commented Apr 8, 2026

Copy link
Copy Markdown
Contributor
  • Reset-All-Sinks-Base: Stress test simultaneous reset of multiple CoreSight sinks and ensure all sinks reliably disable and recover for trace capture.

  • Reset-Random-Sinks-Base: Randomly enable and reset multiple CoreSight sinks under stress and validate sink disable behavior and post-reset trace functionality.

Dependency PR: This PR depends on PR #389 and should be merged after it.

Signed-off-by: Rohan Dutta <rohadutt@qti.qualcomm.com>

@smuppand smuppand left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This reset-all/random-sinks test should be reviewed after #389 because it depends on the common CoreSight helper direction.

Please rebase on top of #389 once the helper API is finalized and reuse the shared helper for sink discovery, enable/disable, reset, trace cleanup, and state restore.

Since this test randomly toggles/reset sinks, cleanup is especially important. Please ensure EXIT/INT/TERM traps restore all enabled CoreSight state so later tests are not affected.

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.

2 participants