Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 323835
b: refs/heads/master
c: 1500b93
h: refs/heads/master
i:
  323833: cfc81ad
  323831: 9888c18
v: v3
  • Loading branch information
Feng Tang authored and Arnaldo Carvalho de Melo committed Sep 17, 2012
1 parent 7d84cea commit 1c3c937
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 87ff50a3192152944d8e65b485bbf3d03214d0b6
refs/heads/master: 1500b93b61fc70a1176871b64f1c8ae3bd4da9dd
5 changes: 3 additions & 2 deletions trunk/tools/perf/util/event.c
Original file line number Diff line number Diff line change
Expand Up @@ -904,8 +904,9 @@ int perf_event__preprocess_sample(const union perf_event *event,
al->sym = map__find_symbol(al->map, al->addr, filter);
}

if (symbol_conf.sym_list && al->sym &&
!strlist__has_entry(symbol_conf.sym_list, al->sym->name))
if (symbol_conf.sym_list &&
(!al->sym || !strlist__has_entry(symbol_conf.sym_list,
al->sym->name)))
goto out_filtered;

return 0;
Expand Down

0 comments on commit 1c3c937

Please sign in to comment.