mirror of
https://github.com/torvalds/linux.git
synced 2026-11-24 15:33:28 +00:00
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/[email protected] Reviewed-by: Masami Hiramatsu <[email protected]> Acked-by: Masami Hiramatsu <[email protected]> Signed-off-by: Joel Fernandes (Google) <[email protected]> Signed-off-by: Steven Rostedt (VMware) <[email protected]>
10 lines
209 B
Plaintext
10 lines
209 B
Plaintext
CONFIG_KPROBES=y
|
|
CONFIG_FTRACE=y
|
|
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
|