linux_dsm_epyc7002/tools/lib/bpf
Andrey Ignatov e5b0863c20 libbpf: Use __u32 instead of u32 in bpf_program__load
Make bpf_program__load consistent with other interfaces: use __u32
instead of u32. That in turn fixes build of samples:

In file included from ./samples/bpf/trace_output_user.c:21:0:
./tools/lib/bpf/libbpf.h:132:9: error: unknown type name ‘u32’
         u32 kern_version);
         ^

Fixes: commit 29cd77f416 ("libbpf: Support loading individual progs")
Signed-off-by: Andrey Ignatov <rdna@fb.com>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
2018-10-04 16:04:16 +02:00
..
.gitignore tools lib bpf: Change FEATURE-DUMP to FEATURE-DUMP.libbpf 2015-11-05 12:47:51 -03:00
bpf.c tools/bpf: move bpf/lib netlink related functions into a new file 2018-09-06 22:34:08 -07:00
bpf.h libbpf: Make include guards consistent 2018-10-04 16:04:16 +02:00
btf.c Merge ra.kernel.org:/pub/scm/linux/kernel/git/davem/net 2018-08-11 17:52:00 -07:00
btf.h libbpf: Make include guards consistent 2018-10-04 16:04:16 +02:00
Build Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next 2018-09-25 20:29:38 -07:00
libbpf_errno.c tools/bpf: add more netlink functionalities in lib/bpf 2018-09-06 22:34:08 -07:00
libbpf.c libbpf: Use __u32 instead of u32 in bpf_program__load 2018-10-04 16:04:16 +02:00
libbpf.h libbpf: Use __u32 instead of u32 in bpf_program__load 2018-10-04 16:04:16 +02:00
Makefile tools: libbpf: remove libelf-getphdrnum feature detection 2018-07-16 16:36:49 -07:00
netlink.c libbpf: Consistent prefixes for interfaces in nlattr.h. 2018-10-04 16:04:16 +02:00
nlattr.c libbpf: Consistent prefixes for interfaces in nlattr.h. 2018-10-04 16:04:16 +02:00
nlattr.h libbpf: Make include guards consistent 2018-10-04 16:04:16 +02:00
str_error.c libbpf: Consistent prefixes for interfaces in str_error.h. 2018-10-04 16:04:16 +02:00
str_error.h libbpf: Make include guards consistent 2018-10-04 16:04:16 +02:00