Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 182337
b: refs/heads/master
c: cdbae31
h: refs/heads/master
i:
  182335: bcff305
v: v3
  • Loading branch information
Arnaldo Carvalho de Melo authored and Ingo Molnar committed Dec 30, 2009
1 parent a0b099e commit 251ec33
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 71289be7630fb97f2de6bb2e18a50289dc869f9d
refs/heads/master: cdbae31408cf39372402076cf2e189ec693daa71
4 changes: 2 additions & 2 deletions trunk/tools/perf/builtin-diff.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,12 @@ static int diff__process_sample_event(event_t *event, struct perf_session *sessi
return -1;
}

if (al.filtered)
if (al.filtered || al.sym == NULL)
return 0;

event__parse_sample(event, session->sample_type, &data);

if (al.sym && perf_session__add_hist_entry(session, &al, data.period)) {
if (perf_session__add_hist_entry(session, &al, data.period)) {
pr_warning("problem incrementing symbol count, skipping event\n");
return -1;
}
Expand Down

0 comments on commit 251ec33

Please sign in to comment.