diff options
Diffstat (limited to 'tools/perf/scripts/python')
| -rw-r--r-- | tools/perf/scripts/python/Perf-Trace-Util/Context.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/perf/scripts/python/Perf-Trace-Util/Context.c b/tools/perf/scripts/python/Perf-Trace-Util/Context.c index 315067b8f552..fcd1dd667906 100644 --- a/tools/perf/scripts/python/Perf-Trace-Util/Context.c +++ b/tools/perf/scripts/python/Perf-Trace-Util/Context.c | |||
| @@ -25,7 +25,7 @@ | |||
| 25 | 25 | ||
| 26 | PyMODINIT_FUNC initperf_trace_context(void); | 26 | PyMODINIT_FUNC initperf_trace_context(void); |
| 27 | 27 | ||
| 28 | static PyObject *perf_trace_context_common_pc(PyObject *self, PyObject *args) | 28 | static PyObject *perf_trace_context_common_pc(PyObject *obj, PyObject *args) |
| 29 | { | 29 | { |
| 30 | static struct scripting_context *scripting_context; | 30 | static struct scripting_context *scripting_context; |
| 31 | PyObject *context; | 31 | PyObject *context; |
| @@ -40,7 +40,7 @@ static PyObject *perf_trace_context_common_pc(PyObject *self, PyObject *args) | |||
| 40 | return Py_BuildValue("i", retval); | 40 | return Py_BuildValue("i", retval); |
| 41 | } | 41 | } |
| 42 | 42 | ||
| 43 | static PyObject *perf_trace_context_common_flags(PyObject *self, | 43 | static PyObject *perf_trace_context_common_flags(PyObject *obj, |
| 44 | PyObject *args) | 44 | PyObject *args) |
| 45 | { | 45 | { |
| 46 | static struct scripting_context *scripting_context; | 46 | static struct scripting_context *scripting_context; |
| @@ -56,7 +56,7 @@ static PyObject *perf_trace_context_common_flags(PyObject *self, | |||
| 56 | return Py_BuildValue("i", retval); | 56 | return Py_BuildValue("i", retval); |
| 57 | } | 57 | } |
| 58 | 58 | ||
| 59 | static PyObject *perf_trace_context_common_lock_depth(PyObject *self, | 59 | static PyObject *perf_trace_context_common_lock_depth(PyObject *obj, |
| 60 | PyObject *args) | 60 | PyObject *args) |
| 61 | { | 61 | { |
| 62 | static struct scripting_context *scripting_context; | 62 | static struct scripting_context *scripting_context; |
