You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Iot_Cs_best/kernel_liteos_a-OpenHarmony.../kernel/extended/perf/Kconfig

38 lines
870 B

1 year ago
config KERNEL_PERF
bool "Enable Perf Feature"
default n
depends on KERNEL_EXTKERNEL
select KERNEL_SMP_CALL if KERNEL_SMP
help
If you wish to build LiteOS with support for perf.
choice
prompt "Time-consuming Calc Methods"
depends on KERNEL_PERF
config PERF_CALC_TIME_BY_TICK
bool "By Tick"
config PERF_CALC_TIME_BY_CYCLE
bool "By Cpu Cycle"
endchoice
config PERF_BUFFER_SIZE
int "Perf Sampling Buffer Size"
default 20480
depends on KERNEL_PERF
config PERF_HW_PMU
bool "Enable Hardware Pmu Events for Sampling"
default n
depends on KERNEL_PERF
config PERF_TIMED_PMU
bool "Enable Hrtimer Period Events for Sampling"
default n
depends on KERNEL_PERF && HRTIMER_ENABLE
config PERF_SW_PMU
bool "Enable Software Events for Sampling"
default y
depends on KERNEL_PERF && KERNEL_HOOK