diff options
author | Tony Ambardar <tony.ambardar@gmail.com> | 2024-09-16 01:37:44 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2024-10-03 17:47:36 -0700 |
commit | bcc60abd67c7741a065480df4875534f62f758b1 (patch) | |
tree | 752d3fe262f2ecff34cc710a9f8be33609082f3b /scripts/bpf_doc.py | |
parent | cf579164e9ea9cd41c7c1da931683a319d224890 (diff) | |
download | linux-stable-bcc60abd67c7741a065480df4875534f62f758b1.tar.gz linux-stable-bcc60abd67c7741a065480df4875534f62f758b1.tar.bz2 linux-stable-bcc60abd67c7741a065480df4875534f62f758b1.zip |
libbpf: Support opening bpf objects of either endianness
Allow bpf_object__open() to access files of either endianness, and convert
included BPF programs to native byte-order in-memory for introspection.
Loading BPF objects of non-native byte-order is still disallowed however.
Signed-off-by: Tony Ambardar <tony.ambardar@gmail.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/26353c1a1887a54400e1acd6c138fa90c99cdd40.1726475448.git.tony.ambardar@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions