aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/perf/builtin-diff.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/builtin-diff.c b/tools/perf/builtin-diff.c
index e99fb3bc1c2d..93b852f8a5d5 100644
--- a/tools/perf/builtin-diff.c
+++ b/tools/perf/builtin-diff.c
@@ -491,6 +491,8 @@ static void hists__process(struct hists *old, struct hists *new)
491 491
492 if (show_baseline_only) 492 if (show_baseline_only)
493 hists__baseline_only(new); 493 hists__baseline_only(new);
494 else
495 hists__link(new, old);
494 496
495 if (sort_compute) { 497 if (sort_compute) {
496 hists__precompute(new); 498 hists__precompute(new);