libbpf: Fix usage of u32 in userspace code
authorAndrii Nakryiko <andriin@fb.com>
Mon, 25 Nov 2019 21:29:48 +0000 (13:29 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Mon, 25 Nov 2019 21:52:01 +0000 (13:52 -0800)
commitb615e5a1e067dcb327482d1af7463268b89b1629
treed65b338b4596fb800599d5876aed7868c9df18da
parented81745a4c96841937f1da35c0eb66ac312e1480
libbpf: Fix usage of u32 in userspace code

u32 is not defined for libbpf when compiled outside of kernel sources (e.g.,
in Github projection). Use __u32 instead.

Fixes: b8c54ea455dc ("libbpf: Add support to attach to fentry/fexit tracing progs")
Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20191125212948.1163343-1-andriin@fb.com
tools/lib/bpf/libbpf.c