diff options
Diffstat (limited to 'tools/perf/builtin-top.c')
-rw-r--r-- | tools/perf/builtin-top.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/builtin-top.c b/tools/perf/builtin-top.c index d0b16d90540..ce2e50c891c 100644 --- a/tools/perf/builtin-top.c +++ b/tools/perf/builtin-top.c | |||
@@ -1106,7 +1106,7 @@ static void perf_session__mmap_read_cpu(struct perf_session *self, int cpu) | |||
1106 | event_t *event; | 1106 | event_t *event; |
1107 | 1107 | ||
1108 | while ((event = perf_evlist__read_on_cpu(evsel_list, cpu)) != NULL) { | 1108 | while ((event = perf_evlist__read_on_cpu(evsel_list, cpu)) != NULL) { |
1109 | event__parse_sample(event, self, &sample); | 1109 | perf_session__parse_sample(self, event, &sample); |
1110 | 1110 | ||
1111 | if (event->header.type == PERF_RECORD_SAMPLE) | 1111 | if (event->header.type == PERF_RECORD_SAMPLE) |
1112 | event__process_sample(event, &sample, self); | 1112 | event__process_sample(event, &sample, self); |