]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - tools/perf/util/python.c
Merge branch 'perf/core' of git://git.kernel.org/pub/scm/linux/kernel/git/frederic...
[karo-tx-linux.git] / tools / perf / util / python.c
index 3344d6e6f048bdaf8401b5ee0b90dd32fe41b51e..69436b3200a45d20a27a2e0481da3b2bbcd7535c 100644 (file)
@@ -681,7 +681,7 @@ static PyObject *pyrf_evlist__read_on_cpu(struct pyrf_evlist *pevlist,
                                         &cpu, &sample_id_all))
                return NULL;
 
-       event = perf_evlist__read_on_cpu(evlist, cpu);
+       event = perf_evlist__mmap_read(evlist, cpu);
        if (event != NULL) {
                struct perf_evsel *first;
                PyObject *pyevent = pyrf_event__new(event);