aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf')
-rw-r--r--tools/perf/builtin-trace.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/builtin-trace.c b/tools/perf/builtin-trace.c
index dd3c2e7c9a18..8247fd04745a 100644
--- a/tools/perf/builtin-trace.c
+++ b/tools/perf/builtin-trace.c
@@ -164,6 +164,7 @@ static int __cmd_trace(void)
164 char *buf; 164 char *buf;
165 165
166 trace_report(); 166 trace_report();
167 register_idle_thread(&threads, &last_match);
167 168
168 input = open(input_name, O_RDONLY); 169 input = open(input_name, O_RDONLY);
169 if (input < 0) { 170 if (input < 0) {