]> asedeno.scripts.mit.edu Git - linux.git/commit
perf annotate: Use perf_env when obtaining the arch name
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 11 Dec 2017 15:52:17 +0000 (12:52 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 27 Dec 2017 15:15:51 +0000 (12:15 -0300)
commit3285debaf5992f9729ba33e3f31eff5253d29dc4
tree7c52f0af65f2603339d746ca5c1e47b0ea7e8226
parent5449f13c553e9c50690419f6114665a8beb71bea
perf annotate: Use perf_env when obtaining the arch name

Paving the way to reuse these routines in other areas, like when
generating errno tables.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Michael Petlan <mpetlan@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Thomas Richter <tmricht@linux.vnet.ibm.com>
Cc: Wang Nan <wangnan0@huawei.com>
Link: https://lkml.kernel.org/n/tip-rh1qv051vb8gfdcswskrn53h@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/annotate.c
tools/perf/util/evsel.c
tools/perf/util/evsel.h