2024-05-23 18:05:17 +08:00
|
|
|
# Copyright (c) 2023 KNS Group LLC (YADRO)
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
config PROFILING_PERF
|
|
|
|
bool "Perf support"
|
|
|
|
depends on !SMP
|
|
|
|
depends on SHELL
|
2024-08-16 15:59:09 +08:00
|
|
|
depends on PROFILING_PERF_HAS_BACKEND
|
2024-05-23 18:05:17 +08:00
|
|
|
help
|
|
|
|
Enable perf shell command.
|
|
|
|
|
|
|
|
if PROFILING_PERF
|
|
|
|
|
|
|
|
config PROFILING_PERF_BUFFER_SIZE
|
|
|
|
int "Perf buffer size"
|
|
|
|
default 2048
|
|
|
|
help
|
2024-08-14 17:49:27 +08:00
|
|
|
Size of buffer used by perf to save stack trace samples.
|
2024-05-23 18:05:17 +08:00
|
|
|
|
|
|
|
endif
|
2024-08-16 15:59:09 +08:00
|
|
|
|
|
|
|
rsource "backends/Kconfig"
|