Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 182377
b: refs/heads/master
c: 881516e
h: refs/heads/master
i:
  182375: 0d0f205
v: v3
  • Loading branch information
Arnaldo Carvalho de Melo authored and Ingo Molnar committed Jan 16, 2010
1 parent 6631555 commit 9f435e3
Show file tree
Hide file tree
Showing 2 changed files with 7 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: f5a2c3dce03621b55f84496f58adc2d1a87ca16f
refs/heads/master: 881516eb828a3f7276c378bcef96b7788fc99016
7 changes: 6 additions & 1 deletion trunk/tools/perf/util/event.c
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,12 @@ static int find_symbol_cb(void *arg, const char *name, char type, u64 start)
{
struct process_symbol_args *args = arg;

if (!symbol_type__is_a(type, MAP__FUNCTION) || strcmp(name, args->name))
/*
* Must be a function or at least an alias, as in PARISC64, where "_text" is
* an 'A' to the same address as "_stext".
*/
if (!(symbol_type__is_a(type, MAP__FUNCTION) ||
type == 'A') || strcmp(name, args->name))
return 0;

args->start = start;
Expand Down

0 comments on commit 9f435e3

Please sign in to comment.