Procházet zdrojové kódy

Merge branch 'tip/perf/urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace into perf/urgent

Pull brown paper bag fix from Steve Rostedt.

Signed-off-by: Ingo Molnar <mingo@kernel.org>
Ingo Molnar před 13 roky
rodič
revize
9ee6ddc9da
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      kernel/trace/trace.c

+ 1 - 1
kernel/trace/trace.c

@@ -371,7 +371,7 @@ EXPORT_SYMBOL_GPL(tracing_on);
 void tracing_off(void)
 void tracing_off(void)
 {
 {
 	if (global_trace.buffer)
 	if (global_trace.buffer)
-		ring_buffer_record_on(global_trace.buffer);
+		ring_buffer_record_off(global_trace.buffer);
 	/*
 	/*
 	 * This flag is only looked at when buffers haven't been
 	 * This flag is only looked at when buffers haven't been
 	 * allocated yet. We don't really care about the race
 	 * allocated yet. We don't really care about the race