Skip to content
Commit acd3b776 authored by Changbin Du's avatar Changbin Du Committed by Andrii Nakryiko
Browse files

libbpf: Return -ENODATA for missing btf section



As discussed before, return -ENODATA (No data available) would be more
meaningful than ENOENT (No such file or directory).

Suggested-by: default avatarLeo Yan <leo.yan@linaro.org>
Signed-off-by: default avatarChangbin Du <changbin.du@gmail.com>
Signed-off-by: default avatarAndrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20221231151436.6541-1-changbin.du@gmail.com
parent 00883922
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment