aboutsummaryrefslogtreecommitdiff
path: root/tools/lib/bpf/bpf_prog_linfo.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <andriin@fb.com>2020-08-18 15:39:13 -0700
committerAlexei Starovoitov <ast@kernel.org>2020-08-18 18:12:45 -0700
commit81ba0889027505b7d5136319117e473a69a923c4 (patch)
tree957ecedc2c468935e1507297557bbcf4d3f35b60 /tools/lib/bpf/bpf_prog_linfo.c
parenta12a625ce7db91c8904233d6bec31c2cc935001f (diff)
downloadlinux-81ba0889027505b7d5136319117e473a69a923c4.tar.gz
linux-81ba0889027505b7d5136319117e473a69a923c4.tar.bz2
linux-81ba0889027505b7d5136319117e473a69a923c4.zip
libbpf: Improve error logging for mismatched BTF kind cases
Instead of printing out integer value of BTF kind, print out a string representation of a kind. Signed-off-by: Andrii Nakryiko <andriin@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20200818223921.2911963-2-andriin@fb.com
Diffstat (limited to 'tools/lib/bpf/bpf_prog_linfo.c')
0 files changed, 0 insertions, 0 deletions