linux/tools/lib
Andrii Nakryiko 7cb30aaab3 libbpf: Assume unsigned values for BTF_KIND_ENUM
Currently, BTF_KIND_ENUM type doesn't record whether enum values should be
interpreted as signed or unsigned. In Linux, most enums are unsigned, though,
so interpreting them as unsigned matches real world better.

Change btf_dump test case to test maximum 32-bit value, instead of negative
value.

Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20200303003233.3496043-3-andriin@fb.com
2020-03-04 17:00:06 +01:00
..
api tools lib api fs: Fix gcc9 stringop-truncation compilation error 2020-01-06 11:46:09 -03:00
bpf libbpf: Assume unsigned values for BTF_KIND_ENUM 2020-03-04 17:00:06 +01:00
lockdep
perf libperf: Setup initial evlist::all_cpus value 2020-01-14 12:02:19 -03:00
subcmd libsubcmd: Use -O0 with DEBUG=1 2019-11-06 15:49:39 -03:00
symbol
traceevent tools lib traceevent: Fix memory leakage in filter_event 2019-12-20 18:47:50 -03:00
argv_split.c
bitmap.c tools bitmap: Implement bitmap_equal() operation at bitmap API 2020-01-06 11:46:04 -03:00
ctype.c
find_bit.c
hweight.c
rbtree.c
str_error_r.c
string.c tools lib: Fix builds when glibc contains strlcpy() 2020-01-06 11:46:10 -03:00
vsprintf.c
zalloc.c