perf evlist: Use the right prefix for 'struct evlist' sample id lookup methods
[linux-2.6-microblaze.git] / tools / perf / util / python.c
index ae8edde..cc5ade8 100644 (file)
@@ -1055,7 +1055,7 @@ static PyObject *pyrf_evlist__read_on_cpu(struct pyrf_evlist *pevlist,
                if (pyevent == NULL)
                        return PyErr_NoMemory();
 
-               evsel = perf_evlist__event2evsel(evlist, event);
+               evsel = evlist__event2evsel(evlist, event);
                if (!evsel) {
                        Py_INCREF(Py_None);
                        return Py_None;
@@ -1089,7 +1089,7 @@ static PyObject *pyrf_evlist__open(struct pyrf_evlist *pevlist,
                return NULL;
 
        if (group)
-               perf_evlist__set_leader(evlist);
+               evlist__set_leader(evlist);
 
        if (evlist__open(evlist) < 0) {
                PyErr_SetFromErrno(PyExc_OSError);