Pull brown paper bag fix from Steve Rostedt.
Showing the changes to kernel (1 of 1 file). Show all
Unified · Split
| @@ -371,7 +371,7 @@ EXPORT_SYMBOL_GPL(tracing_on); · 370 unmodified lines | ||
| 371 | 371 | void tracing_off(void) |
| 372 | 372 | { |
| 373 | 373 | if (global_trace.buffer) |
| 374 | − ring_buffer_record_on(global_trace.buffer); | |
| 374 | + ring_buffer_record_off(global_trace.buffer); | |
| 375 | 375 | /* |
| 376 | 376 | * This flag is only looked at when buffers haven't been |
| 377 | 377 | * allocated yet. We don't really care about the race |