Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ARCv2, eBPF] libbpf: BTF loading error: -22 #93

Open
abrodkin opened this issue Apr 27, 2022 · 0 comments
Open

[ARCv2, eBPF] libbpf: BTF loading error: -22 #93

abrodkin opened this issue Apr 27, 2022 · 0 comments
Assignees

Comments

@abrodkin
Copy link
Member

With current implementation of eBPF for ARCv2 processors on execution of some tests the following message appears:

# ./execsnoop
libbpf: BTF loading error: -22
libbpf: -- BEGIN BTF LOAD LOG ---
magic: 0xeb9f
version: 1
flags: 0x0
hdr_len: 24
type_off: 0
type_len: 8780
str_off: 8780
str_len: 7581
btf_total_size: 16385
[1] STRUCT (anon) size=32 vlen=4
        type type_id=2 bits_offset=0
        max_entries type_id=6 bits_offset=64
        key type_id=8 bits_offset=128
        value type_id=11 bits_offset=192
[2] PTR (anon) type_id=4
…
-- END BTF LOAD LOG --
libbpf: Error loading .BTF into kernel: -22. BTF is optional, ignoring.
PCOMM            PID    PPID   RET ARGS

The target eBPF application gets executed as expected, but that message is a bit annoying.
Would be good to get to the bottom of it and have a clean execution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants