mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 20:51:03 +02:00
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>
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user