diff options
Diffstat (limited to 'tools/perf/util/probe-finder.c')
-rw-r--r-- | tools/perf/util/probe-finder.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tools/perf/util/probe-finder.c b/tools/perf/util/probe-finder.c index 573c72363223..d6d57682473a 100644 --- a/tools/perf/util/probe-finder.c +++ b/tools/perf/util/probe-finder.c | |||
@@ -1393,7 +1393,13 @@ static int line_range_inline_cb(Dwarf_Die *in_die, void *data) | |||
1393 | struct dwarf_callback_param *param = data; | 1393 | struct dwarf_callback_param *param = data; |
1394 | 1394 | ||
1395 | param->retval = find_line_range_by_line(in_die, param->data); | 1395 | param->retval = find_line_range_by_line(in_die, param->data); |
1396 | return DWARF_CB_ABORT; /* No need to find other instances */ | 1396 | |
1397 | /* | ||
1398 | * We have to check all instances of inlined function, because | ||
1399 | * some execution paths can be optimized out depends on the | ||
1400 | * function argument of instances | ||
1401 | */ | ||
1402 | return DWARF_CB_OK; | ||
1397 | } | 1403 | } |
1398 | 1404 | ||
1399 | /* Search function from function name */ | 1405 | /* Search function from function name */ |