projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
perf evlist: Use the right prefix for 'struct evlist' sample id lookup methods
[linux-2.6-microblaze.git]
/
tools
/
perf
/
util
/
python.c
diff --git
a/tools/perf/util/python.c
b/tools/perf/util/python.c
index
ae8edde
..
cc5ade8
100644
(file)
--- a/
tools/perf/util/python.c
+++ b/
tools/perf/util/python.c
@@
-1055,7
+1055,7
@@
static PyObject *pyrf_evlist__read_on_cpu(struct pyrf_evlist *pevlist,
if (pyevent == NULL)
return PyErr_NoMemory();
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;
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)
return NULL;
if (group)
-
perf_
evlist__set_leader(evlist);
+ evlist__set_leader(evlist);
if (evlist__open(evlist) < 0) {
PyErr_SetFromErrno(PyExc_OSError);
if (evlist__open(evlist) < 0) {
PyErr_SetFromErrno(PyExc_OSError);