aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/trace/trace.c')
-rw-r--r--kernel/trace/trace.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c
index c8abbb0c839..ab5cbcae43a 100644
--- a/kernel/trace/trace.c
+++ b/kernel/trace/trace.c
@@ -3918,8 +3918,10 @@ void ftrace_dump(void)
3918 3918
3919 printk(KERN_TRACE "Dumping ftrace buffer:\n"); 3919 printk(KERN_TRACE "Dumping ftrace buffer:\n");
3920 3920
3921 /* Simulate the iterator */
3921 iter.tr = &global_trace; 3922 iter.tr = &global_trace;
3922 iter.trace = current_trace; 3923 iter.trace = current_trace;
3924 iter.cpu_file = TRACE_PIPE_ALL_CPU;
3923 3925
3924 /* 3926 /*
3925 * We need to stop all tracing on all CPUS to read the 3927 * We need to stop all tracing on all CPUS to read the