Skip to content

Added QDSS-QPMDA / HW Events automated scripts#370

Open
Rohan-in-Qualcomm wants to merge 1 commit into
qualcomm-linux:mainfrom
Rohan-in-Qualcomm:debug-qdss-qpmda
Open

Added QDSS-QPMDA / HW Events automated scripts#370
Rohan-in-Qualcomm wants to merge 1 commit into
qualcomm-linux:mainfrom
Rohan-in-Qualcomm:debug-qdss-qpmda

Conversation

@Rohan-in-Qualcomm

@Rohan-in-Qualcomm Rohan-in-Qualcomm commented Mar 26, 2026

Copy link
Copy Markdown
Contributor

This patch adds/updates a suite of automated scripts to validate the functionality of QDSS_QPMDA / HW Events.

  • TPDM-Integration-Test: Verifies that TPDM nodes can be successfully linked to CoreSight sinks and that the overarching trace path is correctly established.
  • TPDM-Trace-Sink: Validates end-to-end data generation and routing by enabling TPDMs, generating trace data, and verifying that the data can be successfully extracted from the /dev/ node of the targeted sink.
  • utils/coresight_helper.sh: Common helper functions.

This patch adds/updates a suite of automated scripts to validate the functionality and stability of CoreSight TPDM Hardware:

* TPDM-Interface-Access: Validates sysfs read/write accessibility for various TPDM dataset modes (DSB, CMB, TC, BC, GPR) to ensure the driver exposes and handles attributes correctly.
* TPDM-Enable-Disable: Stress-tests the hardware and driver state machine by repeatedly toggling the TPDM source nodes on and off.
* utils/coresight_helper.sh: Common helper functions

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 QDSS/QPMDA PR overlaps with the broader CoreSight helper stack.

Before merging this independently, I think we should align it with #389 so TPDM/QPMDA tests reuse the same shared helper patterns for debugfs discovery, source/sink discovery, enable/disable, trace extraction, cleanup, and SKIP handling.

If QDSS/QPMDA needs extra helper functions, those should either extend the common CoreSight helper or live in a clearly layered QDSS helper that builds on top of it. This will avoid duplicated tracing setup across #306/#370/#371/#389/#392/#393/#394.

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