Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 263062
b: refs/heads/master
c: 36c0c58
h: refs/heads/master
v: v3
  • Loading branch information
Masami Hiramatsu authored and Arnaldo Carvalho de Melo committed Aug 12, 2011
1 parent e3078b1 commit 2bf0de4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b0e9cb2802d4bf50955cca8a7d87cf94ebf750a5
refs/heads/master: 36c0c588b9ea979b619d6ddced410f9551e4c5fa
8 changes: 7 additions & 1 deletion trunk/tools/perf/util/probe-finder.c
Original file line number Diff line number Diff line change
Expand Up @@ -1393,7 +1393,13 @@ static int line_range_inline_cb(Dwarf_Die *in_die, void *data)
struct dwarf_callback_param *param = data;

param->retval = find_line_range_by_line(in_die, param->data);
return DWARF_CB_ABORT; /* No need to find other instances */

/*
* We have to check all instances of inlined function, because
* some execution paths can be optimized out depends on the
* function argument of instances
*/
return DWARF_CB_OK;
}

/* Search function from function name */
Expand Down

0 comments on commit 2bf0de4

Please sign in to comment.