]> git.baikalelectronics.ru Git - kernel.git/commit
perf tools: Add perf_exe() helper to find perf binary
authorAndi Kleen <ak@linux.intel.com>
Sun, 24 Feb 2019 15:37:19 +0000 (07:37 -0800)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 25 Feb 2019 13:58:28 +0000 (10:58 -0300)
commite3777f6e9fb2c16892343c3cbb5b996ae1b9b3c5
tree2b6d96ee56bb88f1c4e1044b5ef62a29528d65bb
parentf1e0f43c351d7d9fa2683be0fb81ac54ecb0dc5d
perf tools: Add perf_exe() helper to find perf binary

Also convert one existing user.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/20190224153722.27020-9-andi@firstfloor.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/header.c
tools/perf/util/util.c
tools/perf/util/util.h