Re: [PATCH 0/3] perf tool: build related fixes

Jiri Olsa
2020-03-06T09:35:22Z

On Thu, Mar 05, 2020 at 11:11:07PM -0800, Ian Rogers wrote:
> These patches better enable a build of perf when not using the regular
> Makefiles, in my case using bazel.
>
> Ian Rogers (3):
> tools: fix off-by 1 relative directory includes
> libperf: avoid redefining _GNU_SOURCE in test
> tools/perf: build fixes for arch_errno_names.sh

Acked-by: Jiri Olsa <jolsa@kernel.org>

thanks,
jirka

>
> tools/include/uapi/asm/errno.h | 14 +++++-----
> tools/lib/perf/tests/test-evlist.c | 2 ++
> tools/perf/arch/arm64/util/arm-spe.c | 20 +++++++-------
> tools/perf/arch/arm64/util/perf_regs.c | 2 +-
> tools/perf/arch/powerpc/util/perf_regs.c | 4 +--
> tools/perf/arch/x86/util/auxtrace.c | 14 +++++-----
> tools/perf/arch/x86/util/event.c | 12 ++++-----
> tools/perf/arch/x86/util/header.c | 4 +--
> tools/perf/arch/x86/util/intel-bts.c | 24 ++++++++---------
> tools/perf/arch/x86/util/intel-pt.c | 30 ++++++++++-----------
> tools/perf/arch/x86/util/machine.c | 6 ++---
> tools/perf/arch/x86/util/perf_regs.c | 8 +++---
> tools/perf/arch/x86/util/pmu.c | 6 ++---
> tools/perf/trace/beauty/arch_errno_names.sh | 4 +--
> 14 files changed, 76 insertions(+), 74 deletions(-)
>
> --
> 2.25.1.481.gfbce0eb801-goog
>