Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 298346
b: refs/heads/master
c: ba28c59
h: refs/heads/master
v: v3
  • Loading branch information
Prashanth Nageshappa authored and Arnaldo Carvalho de Melo committed Mar 28, 2012
1 parent b63cc44 commit 1b25e2e
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 1e2dd2f73afdc810cc7400b7036232fbdc416eeb
refs/heads/master: ba28c59bc9ed8fb7b9a753cd88ee54a2c4f6265b
4 changes: 3 additions & 1 deletion trunk/tools/perf/util/probe-finder.c
Original file line number Diff line number Diff line change
Expand Up @@ -972,10 +972,12 @@ static int probe_point_search_cb(Dwarf_Die *sp_die, void *data)
struct dwarf_callback_param *param = data;
struct probe_finder *pf = param->data;
struct perf_probe_point *pp = &pf->pev->point;
Dwarf_Attribute attr;

/* Check tag and diename */
if (dwarf_tag(sp_die) != DW_TAG_subprogram ||
!die_compare_name(sp_die, pp->function))
!die_compare_name(sp_die, pp->function) ||
dwarf_attr(sp_die, DW_AT_declaration, &attr))
return DWARF_CB_OK;

/* Check declared file */
Expand Down

0 comments on commit 1b25e2e

Please sign in to comment.