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/evsel.h | |
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/evsel.h')
-rw-r--r-- | tools/perf/util/evsel.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/util/evsel.h b/tools/perf/util/evsel.h index 4b5a411c403c..a84a4f6bcf31 100644 --- a/tools/perf/util/evsel.h +++ b/tools/perf/util/evsel.h @@ -299,12 +299,12 @@ int evsel__parse_sample(struct evsel *evsel, union perf_event *event, int evsel__parse_sample_timestamp(struct evsel *evsel, union perf_event *event, u64 *timestamp); -static inline struct evsel *perf_evsel__next(struct evsel *evsel) +static inline struct evsel *evsel__next(struct evsel *evsel) { return list_entry(evsel->core.node.next, struct evsel, core.node); } -static inline struct evsel *perf_evsel__prev(struct evsel *evsel) +static inline struct evsel *evsel__prev(struct evsel *evsel) { return list_entry(evsel->core.node.prev, struct evsel, core.node); } |