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>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user