aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-05-12 15:20:49 -0400
committerThomas Gleixner <tglx@linutronix.de>2008-05-23 17:40:22 -0400
commitd618b3e6e50970a6248ac857653fdd49bcd3c045 (patch)
tree1bf01a4c4092b9db9b3690a980b5260170ec6567 /kernel/trace/trace.c
parent9f6b4e3f4a24f2590f1c96f117fc45fbea9b0fa4 (diff)
ftrace: sysprof updates
make the sample period configurable. Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/trace/trace.c')
-rw-r--r--kernel/trace/trace.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c
index 3271916ff033..95b7c48a9a1d 100644
--- a/kernel/trace/trace.c
+++ b/kernel/trace/trace.c
@@ -2800,6 +2800,9 @@ static __init void tracer_init_debugfs(void)
2800 pr_warning("Could not create debugfs " 2800 pr_warning("Could not create debugfs "
2801 "'dyn_ftrace_total_info' entry\n"); 2801 "'dyn_ftrace_total_info' entry\n");
2802#endif 2802#endif
2803#ifdef CONFIG_SYSPROF_TRACER
2804 init_tracer_sysprof_debugfs(d_tracer);
2805#endif
2803} 2806}
2804 2807
2805static int trace_alloc_page(void) 2808static int trace_alloc_page(void)