diff options
-rw-r--r-- | kernel/trace/trace_selftest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/trace_selftest.c b/kernel/trace/trace_selftest.c index b56dcf7d3566..08f4eb2763d1 100644 --- a/kernel/trace/trace_selftest.c +++ b/kernel/trace/trace_selftest.c | |||
@@ -299,7 +299,7 @@ trace_selftest_startup_function_graph(struct tracer *trace, | |||
299 | 299 | ||
300 | /* Have we just recovered from a hang? */ | 300 | /* Have we just recovered from a hang? */ |
301 | if (graph_hang_thresh > GRAPH_MAX_FUNC_TEST) { | 301 | if (graph_hang_thresh > GRAPH_MAX_FUNC_TEST) { |
302 | trace->reset(tr); | 302 | tracing_selftest_disabled = true; |
303 | ret = -1; | 303 | ret = -1; |
304 | goto out; | 304 | goto out; |
305 | } | 305 | } |