diff options
Diffstat (limited to 'tools/perf/util/session.c')
-rw-r--r-- | tools/perf/util/session.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/session.c b/tools/perf/util/session.c index 7231f6b19fb4..25bfca4f10f0 100644 --- a/tools/perf/util/session.c +++ b/tools/perf/util/session.c | |||
@@ -549,7 +549,7 @@ static int perf_session__process_event(struct perf_session *self, | |||
549 | dump_printf("%#Lx [%#x]: PERF_RECORD_%s", | 549 | dump_printf("%#Lx [%#x]: PERF_RECORD_%s", |
550 | offset + head, event->header.size, | 550 | offset + head, event->header.size, |
551 | event__name[event->header.type]); | 551 | event__name[event->header.type]); |
552 | hists__inc_nr_events(self, event->header.type); | 552 | hists__inc_nr_events(&self->hists, event->header.type); |
553 | } | 553 | } |
554 | 554 | ||
555 | if (self->header.needs_swap && event__swap_ops[event->header.type]) | 555 | if (self->header.needs_swap && event__swap_ops[event->header.type]) |