diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-05-12 15:20:45 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2008-05-23 14:40:46 -0400 |
commit | c7aafc549766b87819285d3480648fc652a47bc4 (patch) | |
tree | 4c36170a644633f930feca57b27f8c5d23644e70 /kernel/trace/ftrace.c | |
parent | 60a11774b38fef1ab90b18c5353bd1c7c4d311c8 (diff) |
ftrace: cleanups
factor out code and clean it up.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/trace/ftrace.c')
-rw-r--r-- | kernel/trace/ftrace.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c index 4facf5ceeb86..6d4d2e86debc 100644 --- a/kernel/trace/ftrace.c +++ b/kernel/trace/ftrace.c | |||
@@ -1152,10 +1152,10 @@ static int __init notrace ftrace_dynamic_init(void) | |||
1152 | 1152 | ||
1153 | core_initcall(ftrace_dynamic_init); | 1153 | core_initcall(ftrace_dynamic_init); |
1154 | #else | 1154 | #else |
1155 | # define ftrace_startup() do { } while (0) | 1155 | # define ftrace_startup() do { } while (0) |
1156 | # define ftrace_shutdown() do { } while (0) | 1156 | # define ftrace_shutdown() do { } while (0) |
1157 | # define ftrace_startup_sysctl() do { } while (0) | 1157 | # define ftrace_startup_sysctl() do { } while (0) |
1158 | # define ftrace_shutdown_sysctl() do { } while (0) | 1158 | # define ftrace_shutdown_sysctl() do { } while (0) |
1159 | #endif /* CONFIG_DYNAMIC_FTRACE */ | 1159 | #endif /* CONFIG_DYNAMIC_FTRACE */ |
1160 | 1160 | ||
1161 | /** | 1161 | /** |