Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

file system detect for setup default debugfs for ipc flood test #191

Closed
fredoh9 opened this issue Apr 15, 2020 · 5 comments
Closed

file system detect for setup default debugfs for ipc flood test #191

fredoh9 opened this issue Apr 15, 2020 · 5 comments
Assignees
Labels
P2 Critical bugs or normal features state:ping-for-close Will be closed if submitter is not responsive type:enhancement New framework feature or request

Comments

@fredoh9
Copy link
Collaborator

fredoh9 commented Apr 15, 2020

When multiclient architecture changes are merged, thesofproject/linux#1841, defugfs root for
ipc flood test is changed to /sys/kernel/debug/ipc-flood-test.x/, where x is unique id. debugfs
entries under the root are remained same.

As of today(PR1841 is moving target), this is the changed location.

/sys/kernel/debug/sof/sof-ipc-test.0/
/sys/kernel/debug/sof/sof-ipc-test.1/

Debugfs file system detect might be required while this pr is getting review. One easy fix is just renaming /sys/kernel/debug/sof/ to /sys/kernel/debug/sof/sof-ipc-test.1/. When this PR is merged.

And as thesofproject/linux#1841 support multiple locations of debugfs for ipc flood test, we can improve more

  1. test with /sys/kernel/debug/sof/sof-ipc-test.0/
  2. test with /sys/kernel/debug/sof/sof-ipc-test.1/
  3. test both client1 and client2 simultaneously. This will be nice to see

The PR i made, #187, i dropped debugfs location change. I only pushed kmod change required from PR1841

cc:

@Bin-QA
Copy link
Contributor

Bin-QA commented Apr 16, 2020

How about use find /sys/kernel/debug/ -name ipc_flood_count to catch ipc_flood_count file ?

@fredoh9
Copy link
Collaborator Author

fredoh9 commented Apr 21, 2020

How about use find /sys/kernel/debug/ -name ipc_flood_count to catch ipc_flood_count file ?

Yes, that will work too. But it might hit multiple locations also. (see above description) So take first one should be same as current test.

@xiulipan xiulipan added the type:enhancement New framework feature or request label Sep 24, 2020
@marc-hb marc-hb added the P2 Critical bugs or normal features label Jun 22, 2023
@marc-hb
Copy link
Collaborator

marc-hb commented Jun 22, 2023

@fredoh9 is this still an issue? BTW I noticed that check-ipc-flood is always skipped with IPC4

@marc-hb
Copy link
Collaborator

marc-hb commented Aug 13, 2024

There is a symbolic link that is currently in use. Problem solved, @fredoh9 can we close this?

root@jf-cml-sku0983-sdw-1:~# file /sys/kernel/debug/sof/ipc_flood_count
/sys/kernel/debug/sof/ipc_flood_count: symbolic link to snd_sof.ipc_flood.0/ipc_flood_count

@fredoh9
Copy link
Collaborator Author

fredoh9 commented Aug 14, 2024

yes, we can close this

@fredoh9 fredoh9 closed this as completed Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P2 Critical bugs or normal features state:ping-for-close Will be closed if submitter is not responsive type:enhancement New framework feature or request
Projects
None yet
Development

No branches or pull requests

5 participants