diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2020-04-30 16:06:45 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2020-05-05 21:35:31 +0200 |
commit | e470daeaa36ad8058cb32616afb8c8d7cfba8456 (patch) | |
tree | cdcf13930d5a3f78e0b8b86d588a23df329053f9 /tools/perf/util/sort.c | |
parent | perf evsel: Rename perf_evsel__parse_sample*() to evsel__parse_sample*() (diff) | |
download | linux-e470daeaa36ad8058cb32616afb8c8d7cfba8456.tar.xz linux-e470daeaa36ad8058cb32616afb8c8d7cfba8456.zip |
perf evsel: Rename perf_evsel__{prev,next}() to evsel__{prev,next}()
As those are 'struct evsel' methods, 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/sort.c')
-rw-r--r-- | tools/perf/util/sort.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/sort.c b/tools/perf/util/sort.c index dc15ddc18b7d..dc23b349fff9 100644 --- a/tools/perf/util/sort.c +++ b/tools/perf/util/sort.c @@ -2354,7 +2354,7 @@ static struct evsel *find_evsel(struct evlist *evlist, char *event_name) evsel = evlist__first(evlist); while (--nr > 0) - evsel = perf_evsel__next(evsel); + evsel = evsel__next(evsel); return evsel; } |