aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/ftrace/config
diff options
context:
space:
mode:
authorMasami Hiramatsu <mhiramat@kernel.org>2018-08-30 23:17:38 +0900
committerShuah Khan (Samsung OSG) <shuah@kernel.org>2018-10-24 14:49:35 -0600
commitaf2a0750f374935c07b8beab78d6032b1ca2218d (patch)
tree0106a715c64efea24c371a04afe7c4762648f5b1 /tools/testing/selftests/ftrace/config
parentselftests/ftrace: Use loopback address instead of localhost (diff)
downloadlinux-dev-af2a0750f374935c07b8beab78d6032b1ca2218d.tar.xz
linux-dev-af2a0750f374935c07b8beab78d6032b1ca2218d.zip
selftests/ftrace: Improve kprobe on module testcase to load/unload module
Improve kprobe events on module testcase to check module load/unload with disabled/enabled events. This also change the target module to trace_printk.ko, so it depends on CONFIG_SAMPLE_TRACE_PRINTK=m. Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org> Signed-off-by: Shuah Khan (Samsung OSG) <shuah@kernel.org>
Diffstat (limited to 'tools/testing/selftests/ftrace/config')
-rw-r--r--tools/testing/selftests/ftrace/config4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/testing/selftests/ftrace/config b/tools/testing/selftests/ftrace/config
index 07db5ab09cc7..32cf61b6bb54 100644
--- a/tools/testing/selftests/ftrace/config
+++ b/tools/testing/selftests/ftrace/config
@@ -7,3 +7,7 @@ CONFIG_HIST_TRIGGERS=y
CONFIG_PREEMPT_TRACER=y
CONFIG_IRQSOFF_TRACER=y
CONFIG_PREEMPTIRQ_DELAY_TEST=m
+CONFIG_MODULES=y
+CONFIG_MODULE_UNLOAD=y
+CONFIG_SAMPLES=y
+CONFIG_SAMPLE_TRACE_PRINTK=m