diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig index 70b5d6beeaf2..7958380183ea 100644 --- a/kernel/trace/Kconfig +++ b/kernel/trace/Kconfig @@ -513,6 +513,19 @@ config KPROBE_EVENTS This option is also required by perf-probe subcommand of perf tools. If you want to use perf tools, this option is strongly recommended. +config KPROBES_QGKI + bool "Enable kprobe debug module on QGKI" + depends on KPROBES + depends on QGKI + default y + help + This enables the kprobe debug module on QGKI builds + which aids in dynamic debugging. + + This module can be used to insert kprobe at any offset + within a function and get required data and also provides + additional debug functionalities on top of normal kprobes. + config KPROBE_EVENTS_ON_NOTRACE bool "Do NOT protect notrace function from kprobe events" depends on KPROBE_EVENTS