diff options
Diffstat (limited to 'kernel/trace/trace.c')
-rw-r--r-- | kernel/trace/trace.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c index a3a8a87d7e91..cae34c69752f 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c | |||
@@ -2826,6 +2826,9 @@ static int tracing_open_pipe(struct inode *inode, struct file *filp) | |||
2826 | /* trace pipe does not show start of buffer */ | 2826 | /* trace pipe does not show start of buffer */ |
2827 | cpumask_setall(iter->started); | 2827 | cpumask_setall(iter->started); |
2828 | 2828 | ||
2829 | if (trace_flags & TRACE_ITER_LATENCY_FMT) | ||
2830 | iter->iter_flags |= TRACE_FILE_LAT_FMT; | ||
2831 | |||
2829 | iter->cpu_file = cpu_file; | 2832 | iter->cpu_file = cpu_file; |
2830 | iter->tr = &global_trace; | 2833 | iter->tr = &global_trace; |
2831 | mutex_init(&iter->mutex); | 2834 | mutex_init(&iter->mutex); |