diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2013-11-05 13:32:36 -0500 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2013-11-05 13:32:36 -0500 |
commit | 316c7136f8bad924609163b9b115f68d59a68c82 (patch) | |
tree | ba664f98d92563544aa63dfb63ae4b49c27929c6 /tools/perf/scripts/python/Perf-Trace-Util/Context.c | |
parent | 714647bdc516330e4405b39677d7f763e016c685 (diff) |
perf tools: Finish the removal of 'self' arguments
They convey no information, perhaps I was bitten by some snake at some
point, complete the detox by naming the last of those arguments more
sensibly.
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-u1r0dnjoro08dgztiy2g3t2q@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/Context.c')
-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; |