OSDN Git Service

tools/bpf: use proper type and uapi perf_event.h header for libbpf
authorYonghong Song <yhs@fb.com>
Tue, 9 Oct 2018 23:14:47 +0000 (16:14 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 10 Oct 2018 05:03:28 +0000 (22:03 -0700)
commit438363c0feb831ac3f66646939b3833362750d94
tree7776e0080e981ceab260e74dc80e8da0f604886b
parenta0f99e67969b372b9a2871c32fd97e2757021afe
tools/bpf: use proper type and uapi perf_event.h header for libbpf

Use __u32 instead u32 in libbpf.c and also use
uapi perf_event.h instead of tools/perf/perf-sys.h.

Signed-off-by: Yonghong Song <yhs@fb.com>
Acked-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/lib/bpf/Makefile
tools/lib/bpf/libbpf.c