Skip to content

Multimedia: fix DSP_AudioPD multi-instance adsprpcd handling + improve PID logging#315

Merged
abbajaj806 merged 2 commits intoqualcomm-linux:mainfrom
smuppand:audio_pd
Feb 25, 2026
Merged

Multimedia: fix DSP_AudioPD multi-instance adsprpcd handling + improve PID logging#315
abbajaj806 merged 2 commits intoqualcomm-linux:mainfrom
smuppand:audio_pd

Conversation

@smuppand
Copy link
Contributor

This PR updates the DSP_AudioPD validation to handle multiple adsprpcd instances (e.g. /usr/bin/adsprpcd and /usr/bin/adsprpcd audiopd) which started appearing after recent changes.
What changed
functestlib.sh

  • Improve adsprpcd PID discovery to correctly enumerate all running instances.
  • Log PID → cmdline mapping for better CI debug visibility (helps identify which instance is being checked).

Runner/suites/Multimedia/DSP_AudioPD/run.sh

  • Use the enhanced PID enumeration so the test validates all adsprpcd PIDs (not just one).
  • Reduce duplicate / noisy logs while keeping CI-friendly output.

…log duplication

- Iterate all adsprpcd PIDs for wait-state validation
- Avoid repeated running/PIDs log lines (CI readability)

Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
…ance setups

- Return all matching PIDs when requested
- Log per-PID cmdline to help CI debugging

Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
Copy link
Contributor

@abbajaj806 abbajaj806 left a comment

Choose a reason for hiding this comment

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

LGTM

@abbajaj806 abbajaj806 merged commit 54daba3 into qualcomm-linux:main Feb 25, 2026
12 checks passed
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