diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2020-05-04 18:44:03 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2020-05-05 21:35:31 +0200 |
commit | 6e6d1d654ecdfd07890f9c0fc30f3222885c7571 (patch) | |
tree | 592176f19767c9bf4811fd3cd111626389ae0659 /tools/perf/util/annotate.c | |
parent | perf evsel: Rename perf_evsel__group_idx() to evsel__group_idx() (diff) | |
download | linux-6e6d1d654ecdfd07890f9c0fc30f3222885c7571.tar.xz linux-6e6d1d654ecdfd07890f9c0fc30f3222885c7571.zip |
perf evsel: Rename perf_evsel__env() to evsel__env()
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/annotate.c')
-rw-r--r-- | tools/perf/util/annotate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/annotate.c b/tools/perf/util/annotate.c index dc3342f5586b..d828c2d2edee 100644 --- a/tools/perf/util/annotate.c +++ b/tools/perf/util/annotate.c @@ -2156,7 +2156,7 @@ int symbol__annotate(struct map_symbol *ms, struct evsel *evsel, .evsel = evsel, .options = options, }; - struct perf_env *env = perf_evsel__env(evsel); + struct perf_env *env = evsel__env(evsel); const char *arch_name = perf_env__arch(env); struct arch *arch; int err; |