Commit d3ee6d99 authored by Ingo Molnar's avatar Ingo Molnar

ftrace: make it depend on DEBUG_KERNEL

make most of the tracers depend on DEBUG_KERNEL - that's their intended
purpose. (most distributions have DEBUG_KERNEL enabled anyway so this is
not a practical limitation - but it simplifies the tracing menu in the
normal case)
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 80b5e940
...@@ -22,6 +22,7 @@ config TRACING ...@@ -22,6 +22,7 @@ config TRACING
config FTRACE config FTRACE
bool "Kernel Function Tracer" bool "Kernel Function Tracer"
depends on HAVE_FTRACE depends on HAVE_FTRACE
depends on DEBUG_KERNEL
select FRAME_POINTER select FRAME_POINTER
select TRACING select TRACING
select CONTEXT_SWITCH_TRACER select CONTEXT_SWITCH_TRACER
...@@ -40,6 +41,7 @@ config IRQSOFF_TRACER ...@@ -40,6 +41,7 @@ config IRQSOFF_TRACER
depends on TRACE_IRQFLAGS_SUPPORT depends on TRACE_IRQFLAGS_SUPPORT
depends on GENERIC_TIME depends on GENERIC_TIME
depends on HAVE_FTRACE depends on HAVE_FTRACE
depends on DEBUG_KERNEL
select TRACE_IRQFLAGS select TRACE_IRQFLAGS
select TRACING select TRACING
select TRACER_MAX_TRACE select TRACER_MAX_TRACE
...@@ -63,6 +65,7 @@ config PREEMPT_TRACER ...@@ -63,6 +65,7 @@ config PREEMPT_TRACER
depends on GENERIC_TIME depends on GENERIC_TIME
depends on PREEMPT depends on PREEMPT
depends on HAVE_FTRACE depends on HAVE_FTRACE
depends on DEBUG_KERNEL
select TRACING select TRACING
select TRACER_MAX_TRACE select TRACER_MAX_TRACE
help help
...@@ -90,6 +93,7 @@ config SYSPROF_TRACER ...@@ -90,6 +93,7 @@ config SYSPROF_TRACER
config SCHED_TRACER config SCHED_TRACER
bool "Scheduling Latency Tracer" bool "Scheduling Latency Tracer"
depends on HAVE_FTRACE depends on HAVE_FTRACE
depends on DEBUG_KERNEL
select TRACING select TRACING
select CONTEXT_SWITCH_TRACER select CONTEXT_SWITCH_TRACER
select TRACER_MAX_TRACE select TRACER_MAX_TRACE
...@@ -100,6 +104,7 @@ config SCHED_TRACER ...@@ -100,6 +104,7 @@ config SCHED_TRACER
config CONTEXT_SWITCH_TRACER config CONTEXT_SWITCH_TRACER
bool "Trace process context switches" bool "Trace process context switches"
depends on HAVE_FTRACE depends on HAVE_FTRACE
depends on DEBUG_KERNEL
select TRACING select TRACING
select MARKERS select MARKERS
help help
...@@ -120,6 +125,7 @@ config DYNAMIC_FTRACE ...@@ -120,6 +125,7 @@ config DYNAMIC_FTRACE
bool "enable/disable ftrace tracepoints dynamically" bool "enable/disable ftrace tracepoints dynamically"
depends on FTRACE depends on FTRACE
depends on HAVE_DYNAMIC_FTRACE depends on HAVE_DYNAMIC_FTRACE
depends on DEBUG_KERNEL
default y default y
help help
This option will modify all the calls to ftrace dynamically This option will modify all the calls to ftrace dynamically
...@@ -146,6 +152,7 @@ config FTRACE_SELFTEST ...@@ -146,6 +152,7 @@ config FTRACE_SELFTEST
config FTRACE_STARTUP_TEST config FTRACE_STARTUP_TEST
bool "Perform a startup test on ftrace" bool "Perform a startup test on ftrace"
depends on TRACING depends on TRACING
depends on DEBUG_KERNEL
select FTRACE_SELFTEST select FTRACE_SELFTEST
help help
This option performs a series of startup tests on ftrace. On bootup This option performs a series of startup tests on ftrace. On bootup
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment