mirror of
https://github.com/torvalds/linux.git
synced 2025-11-06 03:29:11 +02:00
iterators.lskel.h is little-endian, therefore bpf iterator is currently broken on big-endian systems. Introduce a big-endian version and add instructions regarding its generation. Unfortunately bpftool's cross-endianness capabilities are limited to BTF right now, so the procedure requires access to a big-endian machine or a configured emulator. Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com> Link: https://lore.kernel.org/r/20230128000650.1516334-25-iii@linux.ibm.com Signed-off-by: Alexei Starovoitov <ast@kernel.org> |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| iterators.bpf.c | ||
| iterators.lskel-big-endian.h | ||
| iterators.lskel-little-endian.h | ||
| Makefile | ||
| README | ||
WARNING: If you change "iterators.bpf.c" do "make -j" in this directory to rebuild "iterators.lskel-little-endian.h". Then, on a big-endian machine, do "make -j big" in this directory to rebuild "iterators.lskel-big-endian.h". Commit both resulting headers. Make sure to have clang 10 installed. See Documentation/bpf/bpf_devel_QA.rst