diff options
Diffstat (limited to 'tools/perf/util/hist.c')
-rw-r--r-- | tools/perf/util/hist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/util/hist.c b/tools/perf/util/hist.c index d2bc05cd1708..82df1b26f0d4 100644 --- a/tools/perf/util/hist.c +++ b/tools/perf/util/hist.c | |||
@@ -785,7 +785,7 @@ void hists__match(struct hists *leader, struct hists *other) | |||
785 | pair = hists__find_entry(other, pos); | 785 | pair = hists__find_entry(other, pos); |
786 | 786 | ||
787 | if (pair) | 787 | if (pair) |
788 | hist_entry__add_pair(pos, pair); | 788 | hist_entry__add_pair(pair, pos); |
789 | } | 789 | } |
790 | } | 790 | } |
791 | 791 | ||
@@ -806,7 +806,7 @@ int hists__link(struct hists *leader, struct hists *other) | |||
806 | pair = hists__add_dummy_entry(leader, pos); | 806 | pair = hists__add_dummy_entry(leader, pos); |
807 | if (pair == NULL) | 807 | if (pair == NULL) |
808 | return -1; | 808 | return -1; |
809 | hist_entry__add_pair(pair, pos); | 809 | hist_entry__add_pair(pos, pair); |
810 | } | 810 | } |
811 | } | 811 | } |
812 | 812 | ||