summaryrefslogtreecommitdiff
path: root/board/sasukette/board.c
diff options
context:
space:
mode:
authorFabio Baltieri <fabiobaltieri@google.com>2021-04-26 14:26:40 +0000
committerCommit Bot <commit-bot@chromium.org>2021-04-27 16:54:32 +0000
commit19bde9a628c0395aef7560a914ea421c20eeb3cb (patch)
tree441dab9f6a33411c322167eaebe0d2f2eb8318ed /board/sasukette/board.c
parent92fcaf7cc7dcf69a2518dfb235a335932a0572a3 (diff)
downloadchrome-ec-19bde9a628c0395aef7560a914ea421c20eeb3cb.tar.gz
zephyr: shim: do not return from main if thread monitoring is enabled
Returning from main causes the corresponding thread structure to be skipped from the thread list, so that it does not get displayed by commands such as "kernel stacks". The structure is statically allocated though, so it is convenient to keep it active when thread monitoring is enabled so that the corresponding stack can be tuned. After this patch: uart:~$ kernel stacks ... 0x200c76f8 main (real size 1024): unused 148 usage 876 / 1024 (85 %) ... BUG=b:183748844 BRANCH=none TEST=kernel stacks Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com> Change-Id: Iee34fac36f5e8989e9d7c761b7cc6b9a14a7b987 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2853598 Reviewed-by: Keith Short <keithshort@chromium.org> Reviewed-by: Yuval Peress <peress@chromium.org> Commit-Queue: Yuval Peress <peress@chromium.org>
Diffstat (limited to 'board/sasukette/board.c')
0 files changed, 0 insertions, 0 deletions