1
0
mirror of https://github.com/physwizz/a155-U-u1.git synced 2024-11-19 13:27:49 +00:00
a155-U-u1/kernel-5.10/drivers/misc/mediatek/mtprof/Kconfig
2024-03-11 06:53:12 +11:00

45 lines
1.5 KiB
Plaintext

config MTPROF
tristate "Enable MTK profiler/debugger tool"
default n
help
CONFIG_MTPROF define if mtk profiling/debugger tools should be
built-in, module or not. It includes bootprof logger which is for
boot time profiling. If you are not sure about whether to
enable it or not, please set n.
config BOOTPROF_THRESHOLD_MS
int "Threshold of driver init duration(ms)"
depends on MTPROF
default 15
help
CONFIG_BOOTPROF_THRESHOLD_MS define the threshold of driver init
duration.If init duration is larger than threshold, bootprof will
record the driver info and init time for boot time profiling.
(Unit: millisecond)
config MTK_IRQ_MONITOR
tristate "Enable MTK IRQ Monitor"
help
MTK_IRQ_MONITOR can monitor ISR/SOFTIRQ processing duration,
IRQ disabled duration and burst IRQ. Say Y here to enable MTK
IRQ monitor. If you are not sure about whether to enable it or not,
please set n.
config MTK_IRQ_MONITOR_DEBUG
tristate "Enable MTK IRQ Monitor Debug"
help
MTK_IRQ_MONITOR_DEBUG if used to debug ISR/SOFTIRQ processing
duration, IRQ disabled duration and burst IRQ. It is only enabled
on userdebug load. Say Y here to enable MTK IRQ monitor debug.
If you are not sure about whether to enable it or not,
please set n.
config MTK_IRQ_MONITOR_DEFAULT_ENABLED
bool "Enable all tracers of MTK IRQ Monitor by default"
depends on MTK_IRQ_MONITOR
select TRACE_IRQFLAGS
config MTK_IRQ_MONITOR_IRQ_TIMER_OVERRIDE
bool "Override the thresholds of irq duration timer (ms)"
depends on MTK_IRQ_MONITOR