-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
tests: boards: nrf: coresight_stm: Add performance test for STM #79000
tests: boards: nrf: coresight_stm: Add performance test for STM #79000
Conversation
8a37cee
to
0a42cc8
Compare
0a42cc8
to
1c5a065
Compare
…t for STM Extend STM testing with verification whether STM benchmark results are below predefined thresholds. Set thresholds arbitrarily. Add tests that allow code coverage calculation. Upstream PR: zephyrproject-rtos/zephyr#79000 Signed-off-by: Sebastian Głąb <[email protected]>
tests: boards: nrf: coresight_stm: Add performance test for STM zephyrproject-rtos/zephyr#79000 nrfconnect/sdk-zephyr#2097 Signed-off-by: Sebastian Głąb <[email protected]>
…t for STM Extend STM testing with verification whether STM benchmark results are below predefined thresholds. Set thresholds arbitrarily. Add tests that allow code coverage calculation. Upstream PR: zephyrproject-rtos/zephyr#79000 Signed-off-by: Sebastian Głąb <[email protected]>
tests: boards: nrf: coresight_stm: Add performance test for STM zephyrproject-rtos/zephyr#79000 nrfconnect/sdk-zephyr#2097 Signed-off-by: Sebastian Głąb <[email protected]>
…t for STM Extend STM testing with verification whether STM benchmark results are below predefined thresholds. Set thresholds arbitrarily. Add tests that allow code coverage calculation. Upstream PR: zephyrproject-rtos/zephyr#79000 Signed-off-by: Sebastian Głąb <[email protected]>
tests: boards: nrf: coresight_stm: Add performance test for STM zephyrproject-rtos/zephyr#79000 nrfconnect/sdk-zephyr#2097 Signed-off-by: Sebastian Głąb <[email protected]>
…t for STM Extend STM testing with verification whether STM benchmark results are below predefined thresholds. Set thresholds arbitrarily. Add tests that allow code coverage calculation. Upstream PR: zephyrproject-rtos/zephyr#79000 Signed-off-by: Sebastian Głąb <[email protected]>
tests: boards: nrf: coresight_stm: Add performance test for STM zephyrproject-rtos/zephyr#79000 nrfconnect/sdk-zephyr#2097 Signed-off-by: Sebastian Głąb <[email protected]>
…t for STM Extend STM testing with verification whether STM benchmark results are below predefined thresholds. Set thresholds arbitrarily. Add tests that allow code coverage calculation. Upstream PR: zephyrproject-rtos/zephyr#79000 Signed-off-by: Sebastian Głąb <[email protected]>
tests: boards: nrf: coresight_stm: Add performance test for STM zephyrproject-rtos/zephyr#79000 nrfconnect/sdk-zephyr#2097 Signed-off-by: Sebastian Głąb <[email protected]>
tests: boards: nrf: coresight_stm: Add performance test for STM zephyrproject-rtos/zephyr#79000 nrfconnect/sdk-zephyr#2097 Signed-off-by: Sebastian Głąb <[email protected]>
Rebased, please do review. |
tests: boards: nrf: coresight_stm: Add performance test for STM zephyrproject-rtos/zephyr#79000 nrfconnect/sdk-zephyr#2097 Signed-off-by: Sebastian Głąb <[email protected]>
a08e7ba
to
7bd44e0
Compare
tests: boards: nrf: coresight_stm: Add performance test for STM zephyrproject-rtos/zephyr#79000 nrfconnect/sdk-zephyr#2097 Signed-off-by: Sebastian Głąb <[email protected]>
7bd44e0
to
72d3b5f
Compare
tests: boards: nrf: coresight_stm: Add performance test for STM zephyrproject-rtos/zephyr#79000 nrfconnect/sdk-zephyr#2097 Signed-off-by: Sebastian Głąb <[email protected]>
tests: boards: nrf: coresight_stm: Add performance test for STM zephyrproject-rtos/zephyr#79000 nrfconnect/sdk-zephyr#2097 Signed-off-by: Sebastian Głąb <[email protected]>
tests: boards: nrf: coresight_stm: Add performance test for STM zephyrproject-rtos/zephyr#79000 nrfconnect/sdk-zephyr#2097 Signed-off-by: Sebastian Głąb <[email protected]>
if(NOT (CONFIG_BOARD_NRF54H20DK_NRF54H20_CPUAPP)) | ||
message(FATAL_ERROR "${BOARD}${BOARD_QUALIFIERS} is not supported for this sample") | ||
endif() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is already specified in testcase.yaml
so seems redundant.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
testcase.yaml is parsed by Twister only. This check is valid for both Twister and manual west build
.
SB_CONFIG_APP_CPUPPR_RUN = None | ||
SB_CONFIG_APP_CPUFLPR_RUN = None | ||
|
||
# https://github.com/zephyrproject-rtos/zephyr/blob/main/drivers/misc/coresight/nrf_etr.c#L102 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suppose this is more about lines 99 and 101.
Perhaps using hex values below would be clearer as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"I suppose this is more about lines 99 and 101." - there were changes to the nrf_etr.c in mean time which made this comment misleading. Maybe See definition of stm_m_id[] and stm_m_name[] in https://github.com/zephyrproject-rtos/zephyr/blob/main/drivers/misc/coresight/nrf_etr.c
would be better.
Decimal values must be used with nrfutil trace --database-config XX:path_to_json,YY:path_to_json,ZZ:path_to_json
.
I wanted to demonstrate how to map coprocessor into --database-config string rather than where these values come from.
fdcd156
to
26c6574
Compare
Extend STM testing with verification whether STM benchmark results are below predefined thresholds. Set thresholds arbitrarily. Add tests that allow code coverage calculation. Signed-off-by: Sebastian Głąb <[email protected]>
26c6574
to
a57c64e
Compare
tests: boards: nrf: coresight_stm: Add performance test for STM zephyrproject-rtos/zephyr#79000 nrfconnect/sdk-zephyr#2097 Signed-off-by: Sebastian Głąb <[email protected]>
tests: boards: nrf: coresight_stm: Add performance test for STM zephyrproject-rtos/zephyr#79000 nrfconnect/sdk-zephyr#2097 Signed-off-by: Sebastian Głąb <[email protected]>
tests: boards: nrf: coresight_stm: Add performance test for STM zephyrproject-rtos/zephyr#79000 nrfconnect/sdk-zephyr#2097 Signed-off-by: Sebastian Głąb <[email protected]>
tests: boards: nrf: coresight_stm: Add performance test for STM zephyrproject-rtos/zephyr#79000 nrfconnect/sdk-zephyr#2097 Signed-off-by: Sebastian Głąb <[email protected]>
tests: boards: nrf: coresight_stm: Add performance test for STM zephyrproject-rtos/zephyr#79000 nrfconnect/sdk-zephyr#2097 Signed-off-by: Sebastian Głąb <[email protected]>
tests: boards: nrf: coresight_stm: Add performance test for STM zephyrproject-rtos/zephyr#79000 nrfconnect/sdk-zephyr#2097 Signed-off-by: Sebastian Głąb <[email protected]>
tests: boards: nrf: coresight_stm: Add performance test for STM zephyrproject-rtos/zephyr#79000 nrfconnect/sdk-zephyr#2097 Signed-off-by: Sebastian Głąb <[email protected]>
Extend STM testing with verification whether STM benchmark results are below predefined thresholds.
Set thresholds arbitrarily.
Add tests that allow code coverage calculation.