Skip to content

perf/tools build related fixes

Ian Rogers bpf linux-perf-users lkml 1 version Applied

Status from this message: Thanks, applied to perf-tools-next,

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4perf bench futex: Add missing stdbool.htools/perf/bench/futex.h+1 -00 replies
2/4tools bitmap: Add missing asm-generic/bitsperlong.h includetools/include/linux/bitmap.h+1 -01 reply
3/4tools include: Replace tools linux/gfp_types.h with kernel versiontools/include/linux/gfp_types.h tools/perf/check-headers.sh+393 -10 replies
4/4tools include: Add headers to make tools builds more hermetictools/include/uapi/linux/genetlink.h tools/include/uapi/linux/if_addr.h tools/include/uapi/linux/neighbour.h +4 more+1369 -10 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchYury Norov (NVIDIA)
1/4
2/4A-b
3/4
4/4

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 v1 0/4] perf/tools build related fixes

Add missing header files and #includes to fix the build in some environments like bazel.

Ian Rogers (4):
perf bench futex: Add missing stdbool.h
tools bitmap: Add missing asm-generic/bitsperlong.h include tools include: Replace tools linux/gfp_types.h with kernel version tools include: Add headers to make tools builds more hermetic

 tools/include/linux/bitmap.h             |   1 +
 tools/include/linux/gfp_types.h          | 393 ++++++++++-
 tools/include/uapi/linux/genetlink.h     | 103 +++
 tools/include/uapi/linux/if_addr.h       |  79 +++
 tools/include/uapi/linux/neighbour.h     | 229 ++++++
 tools/include/uapi/linux/netfilter.h     |  80 +++
 tools/include/uapi/linux/netfilter_arp.h |  23 +
 tools/include/uapi/linux/rtnetlink.h     | 848 +++++++++++++++++++++++
 tools/perf/bench/futex.h                 |   1 +
 tools/perf/check-headers.sh              |   9 +-
 10 files changed, 1764 insertions(+), 2 deletions(-)
 create mode 100644 tools/include/uapi/linux/genetlink.h
 create mode 100644 tools/include/uapi/linux/if_addr.h
 create mode 100644 tools/include/uapi/linux/neighbour.h
 create mode 100644 tools/include/uapi/linux/netfilter.h
 create mode 100644 tools/include/uapi/linux/netfilter_arp.h
 create mode 100644 tools/include/uapi/linux/rtnetlink.h
Signature · 1 line
2.51.0.355.g5224444f11-goog