linux/tools/lib/bpf
Alan Maguire 720c29fca9 libbpf: Propagate errors when retrieving enum value for typed data display
When retrieving the enum value associated with typed data during
"is data zero?" checking in btf_dump_type_data_check_zero(), the
return value of btf_dump_get_enum_value() is not passed to the caller
if the function returns a non-zero (error) value.  Currently, 0
is returned if the function returns an error.  We should instead
propagate the error to the caller.

Signed-off-by: Alan Maguire <alan.maguire@oracle.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/1626770993-11073-4-git-send-email-alan.maguire@oracle.com
2021-07-20 13:49:25 -07:00
..
.gitignore
bpf_core_read.h
bpf_endian.h
bpf_gen_internal.h
bpf_helpers.h libbpf: Move BPF_SEQ_PRINTF and BPF_SNPRINTF to bpf_helpers.h 2021-05-26 10:45:41 -07:00
bpf_prog_linfo.c libbpf: Streamline error reporting for high-level APIs 2021-05-25 17:32:35 -07:00
bpf_tracing.h libbpf: Fail compilation if target arch is missing 2021-06-16 20:15:30 -07:00
bpf.c libbpf: Streamline error reporting for low-level APIs 2021-05-25 17:32:35 -07:00
bpf.h
btf_dump.c libbpf: Propagate errors when retrieving enum value for typed data display 2021-07-20 13:49:25 -07:00
btf.c libbpf: Streamline error reporting for high-level APIs 2021-05-25 17:32:35 -07:00
btf.h libbpf: BTF dumper support for typed data 2021-07-16 13:46:59 -07:00
Build
gen_loader.c
hashmap.c
hashmap.h
libbpf_common.h
libbpf_errno.c libbpf: Streamline error reporting for high-level APIs 2021-05-25 17:32:35 -07:00
libbpf_internal.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next 2021-06-17 11:54:56 -07:00
libbpf_legacy.h libbpf: Streamline error reporting for low-level APIs 2021-05-25 17:32:35 -07:00
libbpf_probes.c
libbpf.c libbpf: Fix removal of inner map in bpf_object__create_map 2021-07-19 15:48:20 -07:00
libbpf.h libbpf: Introduce 'btf_custom_path' to 'bpf_obj_open_opts' 2021-07-16 13:22:47 -07:00
libbpf.map libbpf: BTF dumper support for typed data 2021-07-16 13:46:59 -07:00
libbpf.pc.template
linker.c libbpf: Streamline error reporting for high-level APIs 2021-05-25 17:32:35 -07:00
Makefile libbpf: Install skel_internal.h header used from light skeletons 2021-06-03 15:50:11 +02:00
netlink.c libbpf: Switch to void * casting in netlink helpers 2021-06-22 17:04:02 +02:00
nlattr.c libbpf: Switch to void * casting in netlink helpers 2021-06-22 17:04:02 +02:00
nlattr.h libbpf: Switch to void * casting in netlink helpers 2021-06-22 17:04:02 +02:00
ringbuf.c libbpf: Streamline error reporting for high-level APIs 2021-05-25 17:32:35 -07:00
skel_internal.h
str_error.c
str_error.h
strset.c
strset.h
xsk.c libbpf: Fixes incorrect rx_ring_setup_done 2021-06-07 17:44:03 -07:00
xsk.h