mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-12 00:34:43 +08:00
0f0e5f5bd5
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>
8 lines
335 B
Plaintext
8 lines
335 B
Plaintext
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
|