diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2020-04-30 16:46:15 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2020-05-05 21:35:31 +0200 |
commit | ae4308927e488435073a6aaf601a842ff7e5738f (patch) | |
tree | 1704bf1b16b9c5c9bf93d0946f21ab07a8ba9e02 /tools/perf/util/evsel.c | |
parent | perf evsel: Rename perf_evsel__has*() to evsel__has*() (diff) | |
download | linux-ae4308927e488435073a6aaf601a842ff7e5738f.tar.xz linux-ae4308927e488435073a6aaf601a842ff7e5738f.zip |
perf evsel: Rename perf_evsel__fallback() to evsel__fallback()
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/evsel.c')
-rw-r--r-- | tools/perf/util/evsel.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/perf/util/evsel.c b/tools/perf/util/evsel.c index 909e993b4dcd..a75bcb95bf23 100644 --- a/tools/perf/util/evsel.c +++ b/tools/perf/util/evsel.c @@ -2382,8 +2382,7 @@ u64 evsel__intval(struct evsel *evsel, struct perf_sample *sample, const char *n return field ? format_field__intval(field, sample, evsel->needs_swap) : 0; } -bool perf_evsel__fallback(struct evsel *evsel, int err, - char *msg, size_t msgsize) +bool evsel__fallback(struct evsel *evsel, int err, char *msg, size_t msgsize) { int paranoid; |