diff options
Diffstat (limited to 'tools/perf/util/trace-event-parse.c')
-rw-r--r-- | tools/perf/util/trace-event-parse.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/perf/util/trace-event-parse.c b/tools/perf/util/trace-event-parse.c index a51bd86f4d09..0715c843c2e7 100644 --- a/tools/perf/util/trace-event-parse.c +++ b/tools/perf/util/trace-event-parse.c | |||
@@ -188,9 +188,8 @@ void print_trace_event(struct pevent *pevent, int cpu, void *data, int size) | |||
188 | record.data = data; | 188 | record.data = data; |
189 | 189 | ||
190 | trace_seq_init(&s); | 190 | trace_seq_init(&s); |
191 | pevent_print_event(pevent, &s, &record); | 191 | pevent_event_info(&s, event, &record); |
192 | trace_seq_do_printf(&s); | 192 | trace_seq_do_printf(&s); |
193 | printf("\n"); | ||
194 | } | 193 | } |
195 | 194 | ||
196 | void print_event(struct pevent *pevent, int cpu, void *data, int size, | 195 | void print_event(struct pevent *pevent, int cpu, void *data, int size, |