summaryrefslogtreecommitdiff
path: root/tools/perf/util/python.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2011-05-15 21:41:00 +0400
committerIngo Molnar <mingo@elte.hu>2011-05-15 21:41:00 +0400
commit52004ea7ca4c52a219362f973bfd1eb86ff668ce (patch)
tree086b6920202cf1c7e014f829350848df71eb9a8c /tools/perf/util/python.c
parent9bbeacf52f66d165739a4bbe9c018d17493a74b5 (diff)
parentaece948f5ddd70d70df2f35855c706ef9a4f62e2 (diff)
downloadlinux-52004ea7ca4c52a219362f973bfd1eb86ff668ce.tar.xz
Merge branch 'perf/urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux-2.6 into perf/urgent
Diffstat (limited to 'tools/perf/util/python.c')
-rw-r--r--tools/perf/util/python.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/python.c b/tools/perf/util/python.c
index f5e38451fdc5..99c722672f84 100644
--- a/tools/perf/util/python.c
+++ b/tools/perf/util/python.c
@@ -680,7 +680,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);