diff options
author | Frederic Weisbecker <fweisbec@gmail.com> | 2008-10-03 09:39:21 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-14 04:39:17 -0400 |
commit | 097d036a2f25eecc42435c57e010aaf4a2eed2d9 (patch) | |
tree | ee5e40b940475e8a047e02093688072ff3e330d3 /include/linux/ftrace.h | |
parent | 6450c1d3213e27b0dcbf34cce7ad1ae74244c520 (diff) |
tracing/fastboot: only trace non-module initcalls
At this time, only built-in initcalls interest us.
We can't really produce a relevant graph if we include
the modules initcall too.
I had good results after this patch (see svg in attachment).
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/ftrace.h')
-rw-r--r-- | include/linux/ftrace.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/ftrace.h b/include/linux/ftrace.h index ed53265d1f63..5812dba4ee24 100644 --- a/include/linux/ftrace.h +++ b/include/linux/ftrace.h | |||
@@ -225,9 +225,11 @@ struct boot_trace { | |||
225 | #ifdef CONFIG_BOOT_TRACER | 225 | #ifdef CONFIG_BOOT_TRACER |
226 | extern void trace_boot(struct boot_trace *it, initcall_t fn); | 226 | extern void trace_boot(struct boot_trace *it, initcall_t fn); |
227 | extern void start_boot_trace(void); | 227 | extern void start_boot_trace(void); |
228 | extern void stop_boot_trace(void); | ||
228 | #else | 229 | #else |
229 | static inline void trace_boot(struct boot_trace *it, initcall_t fn) { } | 230 | static inline void trace_boot(struct boot_trace *it, initcall_t fn) { } |
230 | static inline void start_boot_trace(void) { } | 231 | static inline void start_boot_trace(void) { } |
232 | static inline void stop_boot_trace(void) { } | ||
231 | #endif | 233 | #endif |
232 | 234 | ||
233 | 235 | ||