aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/annotate.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/annotate.c')
-rw-r--r--tools/perf/util/annotate.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/perf/util/annotate.c b/tools/perf/util/annotate.c
index 68e687d1bf99..28b233c3dcbe 100644
--- a/tools/perf/util/annotate.c
+++ b/tools/perf/util/annotate.c
@@ -1960,7 +1960,8 @@ static void annotation__calc_lines(struct annotation *notes, struct map *map,
1960 if (percent_max <= 0.5) 1960 if (percent_max <= 0.5)
1961 continue; 1961 continue;
1962 1962
1963 al->path = get_srcline(map->dso, start + al->offset, NULL, false, true); 1963 al->path = get_srcline(map->dso, start + al->offset, NULL,
1964 false, true, start + al->offset);
1964 insert_source_line(&tmp_root, al); 1965 insert_source_line(&tmp_root, al);
1965 } 1966 }
1966 1967