zephyr/subsys/shell/modules
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
..
CMakeLists.txt
date_service.c
device_service.c device_dt_metadata: handle dt_meta being NULL 2024-08-12 15:54:22 +02:00
devmem_service.c shell: devmem: address cmd_dump multiple call problem 2024-05-15 10:13:23 +02:00
Kconfig posix: deprecate POSIX_FNMATCH GETOPT GETENTROPY 2024-06-04 16:27:12 -05:00
kernel_service.c arch: reorg the dependencies around (exception) stack trace 2024-08-26 14:44:53 -04:00