aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/perf/util/probe-finder.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/util/probe-finder.c b/tools/perf/util/probe-finder.c
index 54e707185308..b98d35ef7116 100644
--- a/tools/perf/util/probe-finder.c
+++ b/tools/perf/util/probe-finder.c
@@ -585,14 +585,14 @@ static int probefunc_callback(struct die_link *dlink, void *data)
585 DIE_IF(ret != DW_DLV_OK); 585 DIE_IF(ret != DW_DLV_OK);
586 pr_debug("inline definition offset %lld\n", 586 pr_debug("inline definition offset %lld\n",
587 pf->inl_offs); 587 pf->inl_offs);
588 return 0; 588 return 0; /* Continue to search */
589 } 589 }
590 /* Get probe address */ 590 /* Get probe address */
591 pf->addr = die_get_entrypc(dlink->die); 591 pf->addr = die_get_entrypc(dlink->die);
592 pf->addr += pp->offset; 592 pf->addr += pp->offset;
593 /* TODO: Check the address in this function */ 593 /* TODO: Check the address in this function */
594 show_probepoint(dlink->die, pp->offset, pf); 594 show_probepoint(dlink->die, pp->offset, pf);
595 /* Continue to search */ 595 return 1; /* Exit; no same symbol in this CU. */
596 } 596 }
597 } else if (tag == DW_TAG_inlined_subroutine && pf->inl_offs) { 597 } else if (tag == DW_TAG_inlined_subroutine && pf->inl_offs) {
598 if (die_get_abstract_origin(dlink->die) == pf->inl_offs) { 598 if (die_get_abstract_origin(dlink->die) == pf->inl_offs) {