diff options
| author | Steven Rostedt <rostedt@goodmis.org> | 2008-05-17 00:01:36 -0400 |
|---|---|---|
| committer | Thomas Gleixner <tglx@linutronix.de> | 2008-05-23 16:49:18 -0400 |
| commit | 677aa9f77e8de3791b481a0cec6c8b84d1eec626 (patch) | |
| tree | 4a3cdc6b1653231af31f045dcbaebb806a04d78d /kernel/trace/Kconfig | |
| parent | 7fa09f24b477ad41b821713eba757b3aa7a2864a (diff) | |
ftrace: add have dynamic ftrace config for archs
Now that ftrace is being ported to other architectures, it has become
apparent that DYNAMIC_FTRACE is dependent on whether or not that
architecture implements dynamic ftrace. FTRACE itself may be ported to
an architecture without porting dynamic ftrace.
This patch adds HAVE_DYNAMIC_FTRACE to allow architectures to port ftrace
without having to also port the dynamic aspect as well.
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/trace/Kconfig')
| -rw-r--r-- | kernel/trace/Kconfig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig index f3005717bcd0..5c2295b29f2c 100644 --- a/kernel/trace/Kconfig +++ b/kernel/trace/Kconfig | |||
| @@ -4,6 +4,9 @@ | |||
| 4 | config HAVE_FTRACE | 4 | config HAVE_FTRACE |
| 5 | bool | 5 | bool |
| 6 | 6 | ||
| 7 | config HAVE_DYNAMIC_FTRACE | ||
| 8 | bool | ||
| 9 | |||
| 7 | config TRACER_MAX_TRACE | 10 | config TRACER_MAX_TRACE |
| 8 | bool | 11 | bool |
| 9 | 12 | ||
| @@ -94,6 +97,7 @@ config CONTEXT_SWITCH_TRACER | |||
| 94 | config DYNAMIC_FTRACE | 97 | config DYNAMIC_FTRACE |
| 95 | bool "enable/disable ftrace tracepoints dynamically" | 98 | bool "enable/disable ftrace tracepoints dynamically" |
| 96 | depends on FTRACE | 99 | depends on FTRACE |
| 100 | depends on HAVE_DYNAMIC_FTRACE | ||
| 97 | default y | 101 | default y |
| 98 | help | 102 | help |
| 99 | This option will modify all the calls to ftrace dynamically | 103 | This option will modify all the calls to ftrace dynamically |
