perf clang: Update test case to use real BPF script
authorWang Nan <wangnan0@huawei.com>
Sat, 26 Nov 2016 07:03:37 +0000 (07:03 +0000)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 5 Dec 2016 18:51:44 +0000 (15:51 -0300)
commite67d52d411c3562263735479db2efd2ebd178db9
treea88eae1461ecd9c0cfc84cb0f69faf9bbbfda859
parenta9495fe9dc63bee1166772b6f10e199ef1747892
perf clang: Update test case to use real BPF script

Allow C++ code to use util.h and tests/llvm.h. Let 'perf test' compile a
real BPF script.

Signed-off-by: Wang Nan <wangnan0@huawei.com>
Cc: Alexei Starovoitov <ast@fb.com>
Cc: He Kuang <hekuang@huawei.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Joe Stringer <joe@ovn.org>
Cc: Zefan Li <lizefan@huawei.com>
Cc: pi3orama@163.com
Link: http://lkml.kernel.org/r/20161126070354.141764-14-wangnan0@huawei.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Makefile.config
tools/perf/tests/llvm.h
tools/perf/util/c++/clang-test.cpp
tools/perf/util/util-cxx.h [new file with mode: 0644]