kernel-brax3-ubuntu-touch/drivers/misc/mediatek/mtprof/Kconfig
erascape f319b992b1 kernel-5.15: Initial import brax3 UT kernel
* halium configs enabled

Signed-off-by: erascape <erascape@proton.me>
2025-09-23 15:17:10 +00:00

44 lines
1.5 KiB
Text

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