diff options
Diffstat (limited to 'tools/perf/builtin-annotate.c')
-rw-r--r-- | tools/perf/builtin-annotate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/builtin-annotate.c b/tools/perf/builtin-annotate.c index 645d58058431..593ff25006de 100644 --- a/tools/perf/builtin-annotate.c +++ b/tools/perf/builtin-annotate.c | |||
@@ -141,7 +141,7 @@ static int process_sample_event(event_t *event, struct perf_session *session) | |||
141 | return -1; | 141 | return -1; |
142 | } | 142 | } |
143 | 143 | ||
144 | if (perf_session__add_hist_entry(session, &al, 1)) { | 144 | if (!al.filtered && perf_session__add_hist_entry(session, &al, 1)) { |
145 | fprintf(stderr, "problem incrementing symbol count, " | 145 | fprintf(stderr, "problem incrementing symbol count, " |
146 | "skipping event\n"); | 146 | "skipping event\n"); |
147 | return -1; | 147 | return -1; |