-
- Downloads
tools: Remove feature-libelf-mmap feature detection
It's trivial to handle missing ELF_C_MMAP_READ support in libelf the way that objtool has solved it in ("774bec3f objtool: Add fallback from ELF_C_READ_MMAP to ELF_C_READ"). So instead of having an entire feature detector for that, just do what objtool does for perf and libbpf. And keep their Makefiles a bit simpler. Signed-off-by:Andrii Nakryiko <andriin@fb.com> Signed-off-by:
Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20200819013607.3607269-5-andriin@fb.com
Showing
- tools/build/Makefile.feature 0 additions, 1 deletiontools/build/Makefile.feature
- tools/build/feature/Makefile 0 additions, 4 deletionstools/build/feature/Makefile
- tools/build/feature/test-all.c 0 additions, 4 deletionstools/build/feature/test-all.c
- tools/build/feature/test-libelf-mmap.c 0 additions, 9 deletionstools/build/feature/test-libelf-mmap.c
- tools/lib/bpf/Makefile 1 addition, 5 deletionstools/lib/bpf/Makefile
- tools/lib/bpf/libbpf.c 6 additions, 8 deletionstools/lib/bpf/libbpf.c
- tools/perf/Makefile.config 0 additions, 4 deletionstools/perf/Makefile.config
- tools/perf/util/symbol.h 1 addition, 1 deletiontools/perf/util/symbol.h
Loading
Please sign in to comment