diff options
Diffstat (limited to 'tools/perf/util/trace-event-parse.c')
-rw-r--r-- | tools/perf/util/trace-event-parse.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/perf/util/trace-event-parse.c b/tools/perf/util/trace-event-parse.c index 64d6e302751a..f6a8437141c8 100644 --- a/tools/perf/util/trace-event-parse.c +++ b/tools/perf/util/trace-event-parse.c | |||
@@ -2722,8 +2722,10 @@ void print_event(int cpu, void *data, int size, unsigned long long nsecs, | |||
2722 | type = trace_parse_common_type(data); | 2722 | type = trace_parse_common_type(data); |
2723 | 2723 | ||
2724 | event = trace_find_event(type); | 2724 | event = trace_find_event(type); |
2725 | if (!event) | 2725 | if (!event) { |
2726 | die("ug! no event found for type %d", type); | 2726 | printf("ug! no event found for type %d\n", type); |
2727 | return; | ||
2728 | } | ||
2727 | 2729 | ||
2728 | pid = parse_common_pid(data); | 2730 | pid = parse_common_pid(data); |
2729 | 2731 | ||