libbpf: Stringify errno in log messages in btf*.c
authorMykyta Yatsenko <yatsenko@meta.com>
Mon, 11 Nov 2024 21:29:18 +0000 (21:29 +0000)
committerAndrii Nakryiko <andrii@kernel.org>
Tue, 12 Nov 2024 04:29:45 +0000 (20:29 -0800)
commitaf8380d51948e7e5566b5a659c78eb25e1b09f6c
tree714029f7924b8e610505c1006d229d8e2ab077d7
parent271abf041cb354ce99df33ce1f99db79faf90477
libbpf: Stringify errno in log messages in btf*.c

Convert numeric error codes into the string representations in log
messages in btf.c and btf_dump.c.

Signed-off-by: Mykyta Yatsenko <yatsenko@meta.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20241111212919.368971-4-mykyta.yatsenko5@gmail.com
tools/lib/bpf/btf.c
tools/lib/bpf/btf_dump.c