diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2020-04-29 15:53:17 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2020-05-05 16:35:30 -0300 |
commit | 30f7c59124bb0ad42f74956613fc244bc4064840 (patch) | |
tree | 7c60c09f760b4ad5e0b5e4bb2da00910e78dc55a /tools/perf/util/python.c | |
parent | 39453ed55973cb386ff58bf8a5eca3a65403da74 (diff) | |
download | linux-stable-30f7c59124bb0ad42f74956613fc244bc4064840.tar.gz linux-stable-30f7c59124bb0ad42f74956613fc244bc4064840.tar.bz2 linux-stable-30f7c59124bb0ad42f74956613fc244bc4064840.zip |
perf evsel: Rename perf_evsel__exit() to evsel__exit()
As it is a 'struct evsel' method, not part of tools/lib/perf/, aka
libperf, to whom the perf_ prefix belongs.
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/python.c')
-rw-r--r-- | tools/perf/util/python.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/python.c b/tools/perf/util/python.c index 83212c65848b..67810d31f88d 100644 --- a/tools/perf/util/python.c +++ b/tools/perf/util/python.c @@ -801,7 +801,7 @@ static int pyrf_evsel__init(struct pyrf_evsel *pevsel, static void pyrf_evsel__delete(struct pyrf_evsel *pevsel) { - perf_evsel__exit(&pevsel->evsel); + evsel__exit(&pevsel->evsel); Py_TYPE(pevsel)->tp_free((PyObject*)pevsel); } |