Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 191153
b: refs/heads/master
c: 75ec5a2
h: refs/heads/master
i:
  191151: 431e919
v: v3
  • Loading branch information
Masami Hiramatsu authored and Ingo Molnar committed Apr 2, 2010
1 parent f324331 commit 5783cbe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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: 12e5a7ae475ccb2733d740ffb95d9ca0a18392da
refs/heads/master: 75ec5a245c7763c397f31ec8964d0a46c54a7386
6 changes: 4 additions & 2 deletions trunk/tools/perf/util/probe-finder.c
Original file line number Diff line number Diff line change
Expand Up @@ -818,8 +818,10 @@ int find_perf_probe_point(int fd, unsigned long addr,
return -ENOENT;

/* Find cu die */
if (!dwarf_addrdie(dbg, (Dwarf_Addr)addr, &cudie))
return -EINVAL;
if (!dwarf_addrdie(dbg, (Dwarf_Addr)addr, &cudie)) {
ret = -EINVAL;
goto end;
}

/* Find a corresponding line */
line = dwarf_getsrc_die(&cudie, (Dwarf_Addr)addr);
Expand Down

0 comments on commit 5783cbe

Please sign in to comment.