|
@@ -4040,8 +4040,7 @@ static ssize_t tracing_clock_write(struct file *filp, const char __user *ubuf,
|
|
|
* Reset the buffer so that it doesn't have incomparable timestamps.
|
|
* Reset the buffer so that it doesn't have incomparable timestamps.
|
|
|
*/
|
|
*/
|
|
|
tracing_reset_online_cpus(&global_trace);
|
|
tracing_reset_online_cpus(&global_trace);
|
|
|
- if (max_tr.buffer)
|
|
|
|
|
- tracing_reset_online_cpus(&max_tr);
|
|
|
|
|
|
|
+ tracing_reset_online_cpus(&max_tr);
|
|
|
|
|
|
|
|
mutex_unlock(&trace_types_lock);
|
|
mutex_unlock(&trace_types_lock);
|
|
|
|
|
|