Skip to content

RFC tools/build fixes related to eBPF support

Arnaldo Carvalho de Melo lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest8 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8perf probe: Fix a segfault when removing uprobe eventstools/perf/builtin-probe.c+5 -20 replies
2/8perf tools: Don't assume that the parser returns non empty evsel listtools/perf/util/parse-events.c+16 -00 replies
3/8tools build: Fixup feature detection display function nametools/build/Makefile.feature+1 -10 replies
4/8tools lib ebpf: Fix up FEATURE_{TESTS,DISPLAY} usagetools/lib/bpf/Makefile+2 -20 replies
5/8tools build: Allow setting the feature detection usertools/build/Makefile.feature+3 -23 replies
6/8tools lib bpf: Use FEATURE_USER to allow building in the same dir as perftools/lib/bpf/Makefile+1 -00 replies
7/8perf tools: Add include/err.h into MANIFESTtools/perf/MANIFEST+1 -00 replies
8/8perf tools: Make perf depend on libbpftools/build/Makefile.feature tools/perf/MANIFEST tools/perf/Makefile.perf +2 more+45 -67 replies

Reviews trailers per patch

3 of 8 patches have a Reviewed-by or Acked-by.

PatchJiri OlsaAlexei Starovoitov
1/8
2/8
3/8A-b
4/8
5/8A-b
6/8
7/8
8/8A-b

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

Read the v1 thread

Cover letter [RFC 0/8] tools/build fixes related to eBPF support

Hi Jiri,

While working on the eBPF patch kit I noticed some problems in the
tools/build/ infrastructure, please take a look and check if they are all sane.

The last one is not planned for my next perf/core pull req to Ingo,
still requires some more work, but is necessary so that we can exercise the tools/build/ features fixed/introduced in this patchkit.

There is also that err.h fix from you and a fix for perf probe, because this
is based on my local perf/core branch and will go together in the next perf/core pull req.

Ah, this is in my perf/ebpf branch at:

git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git

https://git.kernel.org/cgit/linux/kernel/git/acme/linux.git/log/?h=perf/ebpf

Thanks in advance,

- Arnaldo

Arnaldo Carvalho de Melo (4):
tools build: Fixup feature detection display function name tools lib ebpf: Fix up FEATURE_{TESTS,DISPLAY} usage
tools build: Allow setting the feature detection user
tools lib bpf: Use FEATURE_USER to allow building in the same dir as perf

Jiri Olsa (1):
perf tools: Add include/err.h into MANIFEST

Masami Hiramatsu (1):
perf probe: Fix a segfault when removing uprobe events

Wang Nan (2):
perf tools: Don't assume that the parser returns non empty evsel list perf tools: Make perf depend on libbpf

 tools/build/Makefile.feature   | 13 ++++++++-----
 tools/lib/bpf/Makefile         |  5 +++--
 tools/perf/MANIFEST            |  4 ++++
 tools/perf/Makefile.perf       | 19 +++++++++++++++++--
 tools/perf/builtin-probe.c     |  7 +++++--
 tools/perf/config/Makefile     | 19 ++++++++++++++++++-
 tools/perf/tests/make          |  4 +++-
 tools/perf/util/parse-events.c | 16 ++++++++++++++++
 8 files changed, 74 insertions(+), 13 deletions(-)
Signature · 1 line
2.1.0