]> git.baikalelectronics.ru Git - kernel.git/commit
tools lib bpf: Copy bpf.h and bpf_common.h from the kernel
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 11 Jul 2016 19:38:05 +0000 (16:38 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 12 Jul 2016 18:20:32 +0000 (15:20 -0300)
commitf0be93be65e7fd355ac84dd467e66d95c8f2480b
tree91052dc27d4b33318ff6e728e8e660fb2235d1a0
parent93b70d8e9ea94885e4051151427b89e83146075a
tools lib bpf: Copy bpf.h and bpf_common.h from the kernel

To allow the build to complete on older systems, where those files are
either not uptodate, lacking some recent additions or not present at
all.

And check if the copy drifts from the kernel, as in this synthetic test:

    BUILD:   Doing 'make -j4' parallel build
  Warning: tools/include/linux/bpf.h differs from kernel
  Warning: tools/include/linux/bpf_common.h differs from kernel

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-5plvi2gq4x469dcyybiu226q@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/include/uapi/linux/bpf.h [new file with mode: 0644]
tools/include/uapi/linux/bpf_common.h [new file with mode: 0644]
tools/lib/bpf/Makefile
tools/perf/MANIFEST
tools/perf/config/Makefile