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

sys/print_stack_usage: update MIN_SIZE #18917

Merged
merged 1 commit into from
Nov 17, 2022

Conversation

maribu
Copy link
Member

@maribu maribu commented Nov 15, 2022

Contribution description

Since fmt no longer has a significant advantage in stack consumption, we need to bump the MIN_SIZE guard that prevents causing stack overflows due to the printing of the stack consumption.

Testing procedure

$ make BOARD=nucleo-f767zi -C tests/pthread_flood flash test

Should no longer print stack usage for the dummy POSIX threads and not result in hard faults due to stack overflows anymore.

Issues/PRs references

Better alternative to #18916

Since fmt no longer has a significant advantage in stack consumption,
we need to bump the `MIN_SIZE` guard that prevents causing stack
overflows due to the printing of the stack consumption.
@maribu maribu requested a review from kaspar030 November 15, 2022 20:44
@maribu maribu added the CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR label Nov 15, 2022
@github-actions github-actions bot added the Area: sys Area: System label Nov 15, 2022
@riot-ci
Copy link

riot-ci commented Nov 16, 2022

Murdock results

✔️ PASSED

5b86848 sys/print_stack_usage: update MIN_SIZE

Success Failures Total Runtime
117848 0 117848 01h:45m:33s

Artifacts

@maribu maribu merged commit f60141a into RIOT-OS:master Nov 17, 2022
@maribu
Copy link
Member Author

maribu commented Nov 17, 2022

Thx :)

@maribu maribu deleted the sys/test_utils/print_stack_usage branch November 17, 2022 12:45
@maribu
Copy link
Member Author

maribu commented Nov 17, 2022

Backport provided in #18924

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: sys Area: System CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants