diff options
author | 2020-11-30 09:22:07 -0300 | |
---|---|---|
committer | 2020-11-30 09:22:07 -0300 | |
commit | a622eafa1a54043c2eaedfccdd1b1ee5ffeb9d06 (patch) | |
tree | 86794e28283cce56e91497c9cb8f4b3aa2cee41b /tools/perf/util/python.c | |
parent | perf evsel: Convert last 'struct evsel' methods to the right evsel__ prefix (diff) | |
download | linux-a622eafa1a54043c2eaedfccdd1b1ee5ffeb9d06.tar.gz linux-a622eafa1a54043c2eaedfccdd1b1ee5ffeb9d06.tar.bz2 linux-a622eafa1a54043c2eaedfccdd1b1ee5ffeb9d06.zip |
perf evlist: Use the right prefix for 'struct evlist' methods: evlist__set_leader()
perf_evlist__ is for 'struct perf_evlist' methods, in tools/lib/perf/,
go on completing this split.
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Ian Rogers <irogers@google.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 ae8edde7c50e..3d3b46514863 100644 --- a/tools/perf/util/python.c +++ b/tools/perf/util/python.c @@ -1089,7 +1089,7 @@ static PyObject *pyrf_evlist__open(struct pyrf_evlist *pevlist, return NULL; if (group) - perf_evlist__set_leader(evlist); + evlist__set_leader(evlist); if (evlist__open(evlist) < 0) { PyErr_SetFromErrno(PyExc_OSError); |