Skip to content

test-case: manual: Simple probes functionality test - #923

Open
jsarha wants to merge 1 commit into
thesofproject:mainfrom
jsarha:probe-capture-manual-test
Open

test-case: manual: Simple probes functionality test#923
jsarha wants to merge 1 commit into
thesofproject:mainfrom
jsarha:probe-capture-manual-test

Conversation

@jsarha

@jsarhajsarha commented Jun 17, 2022

Copy link
Copy Markdown
Contributor

Signed-off-by: Jyri Sarha jyri.sarha@intel.com

This is very simple and fast put together test for probe capture functionality.

@kv2019ikv2019i 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.

Excellent, thanks @jsarha . I think this is really useful to document the test process.

Comment threadtest-case/manual/check-simple-probe-capture.md Outdated

@fredoh9fredoh9 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.

Overall looks good and thank you for the update.
Almost ready to merge, good clarity for manual test note. When you update it please make it normal PR.

@jsarha
jsarhaforce-pushed the probe-capture-manual-test branch from c43759a to 8a791edCompareJune 20, 2022 10:19
@jsarha
jsarha marked this pull request as ready for review June 20, 2022 12:31
@jsarha
jsarha requested a review from a team as a code ownerJune 20, 2022 12:31
aiChaoSONG
aiChaoSONG previously approved these changes Jun 22, 2022

@aiChaoSONGaiChaoSONG left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

@jsarha Are those configurations in this document all supported by thesofproject/sof and thesofproject/linux? So I can try manually.

@jsarha

Copy link
Copy Markdown
ContributorAuthor

@jsarha Are those configurations in this document all supported by thesofproject/sof and thesofproject/linux? So I can try manually.

Yes, they are. Also the both PRs fixing the problems related to this are now merged. I wrote the test descriptions based on how I got the feature working last week, so I think it should be good.

@marc-hb

Copy link
Copy Markdown
Collaborator

The form looks great but I'm ignorant about the content. @jsarha could you get a couple more reviewers?

ranj063
ranj063 previously approved these changes Jun 22, 2022
@marc-hb
marc-hb requested a review from a teamJune 23, 2022 20:55
@jsarha
jsarha requested review from kv2019i and ujfalusiJune 27, 2022 06:23

@ujfalusiujfalusi 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.

@jsarha, great to have something for the probes!
I have couple candidates for clarification, if you think they stand.

Comment threadtest-case/manual/check-simple-probe-capture.md
Comment threadtest-case/manual/check-simple-probe-capture.md
Comment threadtest-case/manual/check-simple-probe-capture.md
@jsarha
jsarha dismissed stale reviews from ranj063 and aiChaoSONG via 9dcf2d6June 30, 2022 09:31
@jsarha
jsarhaforce-pushed the probe-capture-manual-test branch from 8a791ed to 9dcf2d6CompareJune 30, 2022 09:31
CONFIG_PROBE_POINTS_MAX=16
CONFIG_PROBE_DMA_MAX=4

In fact PROBE_DMA_MAX is ignored as inection is not currently supported

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.

s/inection/injection
Why mention CONFIG_PROBE_DMA_MAX in the first place?

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

If CONFIG_PROBE is enabled through menuconfig the CONFIG_PROBE_DMA_MAX option appears with the default value of 4, so I think it causes less confusion to mention it than leaving it out.

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.

For me it comes with 0 as default, but never checked the kconfig file to be honest..

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

I think you have put the zero there. If enabled for the first time (I think I had not touched the items before), the two numeric options appear as above.

Comment threadtest-case/manual/check-simple-probe-capture.md Outdated
Signed-off-by: Jyri Sarha <jyri.sarha@intel.com>
@jsarha
jsarhaforce-pushed the probe-capture-manual-test branch from 9dcf2d6 to 256272aCompareJune 30, 2022 16:00
@kv2019i

Copy link
Copy Markdown
Contributor

@jsarha@ujfalusi Would be nice to get a version of this merged. I had to look this up to re-learn how to use probes ... and I mean, I thought this was merged, so it took some time before I realized and I need to look it up here in open PRs....

Sign up for freeto 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.

7 participants

@jsarha@marc-hb@kv2019i@ranj063@ujfalusi@fredoh9@aiChaoSONG