diff --git a/tools/perf/util/probe-finder.c b/tools/perf/util/probe-finder.c index ff7865ca3ca3529a12a48ad175d5a18791bc7018..44554c3c2220f44e787f2bf1a7e39e49201ad207 100644 --- a/tools/perf/util/probe-finder.c +++ b/tools/perf/util/probe-finder.c @@ -1066,7 +1066,7 @@ static int debuginfo__find_probes(struct debuginfo *dbg, if (pp->function) ret = find_probe_point_by_func(pf); else if (pp->lazy_line) - ret = find_probe_point_lazy(NULL, pf); + ret = find_probe_point_lazy(&pf->cu_die, pf); else { pf->lno = pp->line; ret = find_probe_point_by_line(pf);