]> 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)
commit1030942416c4a2b4c429a3ea55a8db9d66ec3195
tree91052dc27d4b33318ff6e728e8e660fb2235d1a0
parent89bc8cba0884c8ab3018d1b5ae58cb8e71c26c98
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