Skip to content

perf tool: build related fixes

Ian Rogers lkml 1 version Applied

Status from this message: Thanks, applied and added this to the cset commit log:

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 12 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3tools: fix off-by 1 relative directory includestools/include/uapi/asm/errno.h tools/perf/arch/arm64/util/arm-spe.c tools/perf/arch/arm64/util/perf_regs.c +9 more+72 -724 replies
2/3libperf: avoid redefining _GNU_SOURCE in testtools/lib/perf/tests/test-evlist.c+2 -02 replies
3/3tools/perf: build fixes for arch_errno_names.shtools/perf/trace/beauty/arch_errno_names.sh+2 -25 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJiri Olsa
SeriesA-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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

 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(-)
Signature · 1 line
2.25.1.481.gfbce0eb801-goog