zephyr/subsys/profiling/perf/backends/Kconfig
Yong Cong Sin 42362c6fcc subsys/profiling: relocate stack unwind backends
Relocate stack unwind backends from `arch/` to perf's
`backends/` folder, just like logging/shell/..

Signed-off-by: Yong Cong Sin <ycsin@meta.com>
Signed-off-by: Yong Cong Sin <yongcong.sin@gmail.com>
2024-08-20 14:45:23 +02:00

34 lines
705 B
Plaintext

# Copyright (c) 2024 Meta Platforms
#
# SPDX-License-Identifier: Apache-2.0
config PROFILING_PERF_HAS_BACKEND
bool
help
Selected when there's an implementation for
`arch_perf_current_stack_trace()`
config PROFILING_PERF_BACKEND_RISCV
bool
default y
depends on RISCV
depends on THREAD_STACK_INFO
depends on FRAME_POINTER
select PROFILING_PERF_HAS_BACKEND
config PROFILING_PERF_BACKEND_X86
bool
default y
depends on X86 && !X86_64
depends on THREAD_STACK_INFO
depends on FRAME_POINTER
select PROFILING_PERF_HAS_BACKEND
config PROFILING_PERF_BACKEND_X86_64
bool
default y
depends on X86_64
depends on THREAD_STACK_INFO
depends on FRAME_POINTER
select PROFILING_PERF_HAS_BACKEND