diff options
author | Joel Fernandes (Google) <joel@joelfernandes.org> | 2018-07-11 08:35:40 +0200 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2018-07-26 16:50:17 +0200 |
commit | 8bd1369b4c2b532865b706c97f1a8ae4c6a36a71 (patch) | |
tree | 8d7611205aeed604ada06050bf8933c338513ac3 /tools/testing/selftests/ftrace/config | |
parent | lib: Add module for testing preemptoff/irqsoff latency tracers (diff) | |
download | linux-8bd1369b4c2b532865b706c97f1a8ae4c6a36a71.tar.xz linux-8bd1369b4c2b532865b706c97f1a8ae4c6a36a71.zip |
kselftests: Add tests for the preemptoff and irqsoff tracers
Here we add unit tests for the preemptoff and irqsoff tracer by using a
kernel module introduced previously to trigger long preempt or irq
disabled sections in the kernel.
Link: http://lkml.kernel.org/r/20180711063540.91101-3-joel@joelfernandes.org
Reviewed-by: Masami Hiramatsu <mhiramat@kernel.org>
Acked-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Joel Fernandes (Google) <joel@joelfernandes.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'tools/testing/selftests/ftrace/config')
-rw-r--r-- | tools/testing/selftests/ftrace/config | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/testing/selftests/ftrace/config b/tools/testing/selftests/ftrace/config index b01924c71c09..07db5ab09cc7 100644 --- a/tools/testing/selftests/ftrace/config +++ b/tools/testing/selftests/ftrace/config @@ -4,3 +4,6 @@ CONFIG_FUNCTION_PROFILER=y CONFIG_TRACER_SNAPSHOT=y CONFIG_STACK_TRACER=y CONFIG_HIST_TRIGGERS=y +CONFIG_PREEMPT_TRACER=y +CONFIG_IRQSOFF_TRACER=y +CONFIG_PREEMPTIRQ_DELAY_TEST=m |