diff options
Diffstat (limited to 'tools/perf/util/python.c')
-rw-r--r-- | tools/perf/util/python.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/python.c b/tools/perf/util/python.c index 3344d6e6f04..69436b3200a 100644 --- a/tools/perf/util/python.c +++ b/tools/perf/util/python.c | |||
@@ -681,7 +681,7 @@ static PyObject *pyrf_evlist__read_on_cpu(struct pyrf_evlist *pevlist, | |||
681 | &cpu, &sample_id_all)) | 681 | &cpu, &sample_id_all)) |
682 | return NULL; | 682 | return NULL; |
683 | 683 | ||
684 | event = perf_evlist__read_on_cpu(evlist, cpu); | 684 | event = perf_evlist__mmap_read(evlist, cpu); |
685 | if (event != NULL) { | 685 | if (event != NULL) { |
686 | struct perf_evsel *first; | 686 | struct perf_evsel *first; |
687 | PyObject *pyevent = pyrf_event__new(event); | 687 | PyObject *pyevent = pyrf_event__new(event); |