blob: feb255b906b0caf1a8c8ceb37143ecf53fe763d6 [file]
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_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