aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-top.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/builtin-top.c')
-rw-r--r--tools/perf/builtin-top.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/builtin-top.c b/tools/perf/builtin-top.c
index 7ba0f03c0132..e4ca827f6879 100644
--- a/tools/perf/builtin-top.c
+++ b/tools/perf/builtin-top.c
@@ -1016,7 +1016,7 @@ static int __cmd_top(struct perf_top *top)
1016 if (ret) 1016 if (ret)
1017 goto out_delete; 1017 goto out_delete;
1018 1018
1019 if (top->target.tid || top->target.uid != UINT_MAX) 1019 if (!perf_target__no_task(&top->target))
1020 perf_event__synthesize_thread_map(&top->tool, top->evlist->threads, 1020 perf_event__synthesize_thread_map(&top->tool, top->evlist->threads,
1021 perf_event__process, 1021 perf_event__process,
1022 &top->session->host_machine); 1022 &top->session->host_machine);