forked from Minki/linux
9bc898c701
Previous patches introduce llvm__compile_bpf() to compile source file to eBPF object. This patch adds testcase to test it. It also tests libbpf by opening generated object after applying next patch which introduces HAVE_LIBBPF_SUPPORT option. Since llvm__compile_bpf() prints long messages which users who don't explicitly test llvm doesn't care, this patch set verbose to -1 to suppress all debug, warning and error message, and hint user use 'perf test -v' to see the full output. For the same reason, if clang is not found in PATH and there's no [llvm] section in .perfconfig, skip this test. Signed-off-by: Wang Nan <wangnan0@huawei.com> Acked-by: Alexei Starovoitov <ast@plumgrid.com> Cc: Brendan Gregg <brendan.d.gregg@gmail.com> Cc: Daniel Borkmann <daniel@iogearbox.net> Cc: David Ahern <dsahern@gmail.com> Cc: He Kuang <hekuang@huawei.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Kaixu Xia <xiakaixu@huawei.com> Cc: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Zefan Li <lizefan@huawei.com> Cc: pi3orama@163.com Link: http://lkml.kernel.org/n/1436445342-1402-17-git-send-email-wangnan0@huawei.com [ Add tools/lib/bpf/ to tools/perf/MANIFEST, so that the tarball targets build ] Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
83 lines
2.5 KiB
Plaintext
83 lines
2.5 KiB
Plaintext
tools/perf
|
|
tools/arch/alpha/include/asm/barrier.h
|
|
tools/arch/arm/include/asm/barrier.h
|
|
tools/arch/ia64/include/asm/barrier.h
|
|
tools/arch/mips/include/asm/barrier.h
|
|
tools/arch/powerpc/include/asm/barrier.h
|
|
tools/arch/s390/include/asm/barrier.h
|
|
tools/arch/sh/include/asm/barrier.h
|
|
tools/arch/sparc/include/asm/barrier.h
|
|
tools/arch/sparc/include/asm/barrier_32.h
|
|
tools/arch/sparc/include/asm/barrier_64.h
|
|
tools/arch/tile/include/asm/barrier.h
|
|
tools/arch/x86/include/asm/barrier.h
|
|
tools/arch/xtensa/include/asm/barrier.h
|
|
tools/scripts
|
|
tools/build
|
|
tools/arch/x86/include/asm/atomic.h
|
|
tools/arch/x86/include/asm/rmwcc.h
|
|
tools/lib/traceevent
|
|
tools/lib/api
|
|
tools/lib/bpf
|
|
tools/lib/hweight.c
|
|
tools/lib/rbtree.c
|
|
tools/lib/symbol/kallsyms.c
|
|
tools/lib/symbol/kallsyms.h
|
|
tools/lib/util/find_next_bit.c
|
|
tools/include/asm/atomic.h
|
|
tools/include/asm/barrier.h
|
|
tools/include/asm/bug.h
|
|
tools/include/asm-generic/barrier.h
|
|
tools/include/asm-generic/bitops/arch_hweight.h
|
|
tools/include/asm-generic/bitops/atomic.h
|
|
tools/include/asm-generic/bitops/const_hweight.h
|
|
tools/include/asm-generic/bitops/__ffs.h
|
|
tools/include/asm-generic/bitops/__fls.h
|
|
tools/include/asm-generic/bitops/find.h
|
|
tools/include/asm-generic/bitops/fls64.h
|
|
tools/include/asm-generic/bitops/fls.h
|
|
tools/include/asm-generic/bitops/hweight.h
|
|
tools/include/asm-generic/bitops.h
|
|
tools/include/linux/atomic.h
|
|
tools/include/linux/bitops.h
|
|
tools/include/linux/compiler.h
|
|
tools/include/linux/export.h
|
|
tools/include/linux/hash.h
|
|
tools/include/linux/kernel.h
|
|
tools/include/linux/list.h
|
|
tools/include/linux/log2.h
|
|
tools/include/linux/poison.h
|
|
tools/include/linux/rbtree.h
|
|
tools/include/linux/rbtree_augmented.h
|
|
tools/include/linux/types.h
|
|
include/asm-generic/bitops/arch_hweight.h
|
|
include/asm-generic/bitops/const_hweight.h
|
|
include/asm-generic/bitops/fls64.h
|
|
include/asm-generic/bitops/__fls.h
|
|
include/asm-generic/bitops/fls.h
|
|
include/linux/perf_event.h
|
|
include/linux/list.h
|
|
include/linux/hash.h
|
|
include/linux/stringify.h
|
|
include/linux/swab.h
|
|
arch/*/include/asm/unistd*.h
|
|
arch/*/include/uapi/asm/unistd*.h
|
|
arch/*/include/uapi/asm/perf_regs.h
|
|
arch/*/lib/memcpy*.S
|
|
arch/*/lib/memset*.S
|
|
include/linux/poison.h
|
|
include/linux/hw_breakpoint.h
|
|
include/uapi/linux/perf_event.h
|
|
include/uapi/linux/const.h
|
|
include/uapi/linux/swab.h
|
|
include/uapi/linux/hw_breakpoint.h
|
|
arch/x86/include/asm/svm.h
|
|
arch/x86/include/asm/vmx.h
|
|
arch/x86/include/asm/kvm_host.h
|
|
arch/x86/include/uapi/asm/svm.h
|
|
arch/x86/include/uapi/asm/vmx.h
|
|
arch/x86/include/uapi/asm/kvm.h
|
|
arch/x86/include/uapi/asm/kvm_perf.h
|
|
arch/s390/include/uapi/asm/sie.h
|
|
arch/s390/include/uapi/asm/kvm_perf.h
|