diff options
Diffstat (limited to 'tools/perf/builtin-report.c')
-rw-r--r-- | tools/perf/builtin-report.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/perf/builtin-report.c b/tools/perf/builtin-report.c index f06a5a228c7c..958a56a0e39e 100644 --- a/tools/perf/builtin-report.c +++ b/tools/perf/builtin-report.c | |||
@@ -304,8 +304,7 @@ static int process_sample_event(struct perf_tool *tool, | |||
304 | struct addr_location al; | 304 | struct addr_location al; |
305 | int ret; | 305 | int ret; |
306 | 306 | ||
307 | if (perf_event__preprocess_sample(event, machine, &al, sample, | 307 | if (perf_event__preprocess_sample(event, machine, &al, sample) < 0) { |
308 | machine->symbol_filter) < 0) { | ||
309 | fprintf(stderr, "problem processing %d event, skipping it.\n", | 308 | fprintf(stderr, "problem processing %d event, skipping it.\n", |
310 | event->header.type); | 309 | event->header.type); |
311 | return -1; | 310 | return -1; |