aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/trace/trace_selftest.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/trace/trace_selftest.c b/kernel/trace/trace_selftest.c
index 4c8a1b2d8231..a6f1ed75f836 100644
--- a/kernel/trace/trace_selftest.c
+++ b/kernel/trace/trace_selftest.c
@@ -67,6 +67,8 @@ trace_test_buffer_cpu(struct trace_array *tr, struct trace_array_cpu *data)
67 return 0; 67 return 0;
68 68
69 failed: 69 failed:
70 /* disable tracing */
71 tracing_disabled = 1;
70 printk(KERN_CONT ".. corrupted trace buffer .. "); 72 printk(KERN_CONT ".. corrupted trace buffer .. ");
71 return -1; 73 return -1;
72} 74}