zephyr/subsys/shell
Yong Cong Sin 6fae891c7e arch: reorg the dependencies around (exception) stack trace
This commit introduces a new ARCH_STACKWALK Kconfig which
determines if the `arch_stack_walk()` is available should the
arch supports it.

Starting from RISCV, this will be able to converge the exception
stack trace implementation & stack walking features. Existing
exception stack trace implementation will be updated later.
Eventually we will end up with the following:

1. If an arch implements `arch_stack_walk()`
   `ARCH_HAS_STACKWALK` should be selected.
2. If the above is enabled, `ARCH_SUPPORTS_STACKWALK` indicates
   if the dependencies are met for arch to enable stack walking.
   This Kconfig replaces `<arch>_EXCEPTION_STACK_TRACE`
2. If the above is enabled, then, `ARCH_STACKWALK` determines
   if `arch_stack_walk()` should be compiled.
3. `EXCEPTION_STACK_TRACE` should build on top of the
   `ARCH_STACKWALK`, stack traces will be printed when it
   is enabled.
4. `ARCH_STACKWALK_MAX_FRAMES` will be removed as it is
   replaced by `ARCH_STACKWALK_MAX_FRAMES`

Signed-off-by: Yong Cong Sin <ycsin@meta.com>
Signed-off-by: Yong Cong Sin <yongcong.sin@gmail.com>
2024-08-26 14:44:53 -04:00
..
backends shell: backends: uart: add option to force tx blocking 2024-08-21 18:25:14 +01:00
modules arch: reorg the dependencies around (exception) stack trace 2024-08-26 14:44:53 -04:00
CMakeLists.txt
Kconfig kconfig: replace known integer constants with variables 2024-07-27 20:49:15 +03:00
Kconfig.template.shell_log_queue_size
Kconfig.template.shell_log_queue_timeout
shell_cmds.c
shell_fprintf.c
shell_help.c
shell_help.h
shell_history.c
shell_log_backend.c
shell_ops.c
shell_ops.h shell: change controlling expressions in while to Boolean 2024-06-12 14:22:36 +03:00
shell_utils.c shell: add a callback-filter variant of shell_device_lookup 2024-04-30 19:30:15 -05:00
shell_utils.h
shell_vt100.h
shell_wildcard.c
shell_wildcard.h
shell.c shell: introduce shell_xxx_impl wrapper functions for output macros 2024-07-27 20:50:12 +03:00