diff options
author | Wang Nan <[email protected]> | 2016-11-26 07:03:38 +0000 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2016-12-05 15:51:44 -0300 |
commit | 5e08a76525b8f5e9aeb8b27d0466614abec070a9 (patch) | |
tree | 9b63f3b0fb1c35248e51c4b4f2aadf3ab68db6aa /tools/perf/scripts/python/syscall-counts.py | |
parent | e67d52d411c3562263735479db2efd2ebd178db9 (diff) |
perf clang: Support compile IR to BPF object and add testcase
getBPFObjectFromModule() is introduced to compile LLVM IR(Module)
to BPF object. Add new testcase for it.
Test result:
$ ./buildperf/perf test -v clang
51: builtin clang support :
51.1: builtin clang compile C source to IR :
--- start ---
test child forked, pid 21822
test child finished with 0
---- end ----
builtin clang support subtest 0: Ok
51.2: builtin clang compile C source to ELF object :
--- start ---
test child forked, pid 21823
test child finished with 0
---- end ----
builtin clang support subtest 1: Ok
Signed-off-by: Wang Nan <[email protected]>
Cc: Alexei Starovoitov <[email protected]>
Cc: He Kuang <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Joe Stringer <[email protected]>
Cc: Zefan Li <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
[ Remove redundant "Test" from entry descriptions ]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions