summaryrefslogtreecommitdiffhomepage
path: root/test/syscalls/linux
diff options
context:
space:
mode:
authorTiwei Bie <tiwei.btw@antgroup.com>2020-10-14 14:41:23 +0800
committerTiwei Bie <tiwei.btw@antgroup.com>2020-10-14 14:41:23 +0800
commitca731934fe660489337991f6c5979a7741527d9a (patch)
tree980f4d2134a3d5f83365901c48c9b0fcbaad4a86 /test/syscalls/linux
parent631dd5330d438729a7a8f6e00b279386924de640 (diff)
Disable strace+debug when explicitly requested
Currently strace+debug is always enabled as the setting from the upper layer isn't passed to _syscall_test(). And it will negatively affect the performance tests. This patch fixes this issue. The "debug" argument of _syscall_test() is also made mandatory to prevent this happening again. //test/perf:getpid_benchmark_runsc_kvm ----------------------------------------------------- Benchmark Time CPU Iterations ----------------------------------------------------- Before: BM_Getpid 28119 ns 28157 ns 25926 After: BM_Getpid 947 ns 939 ns 777778 Fixes #4509 Signed-off-by: Tiwei Bie <tiwei.btw@antgroup.com>
Diffstat (limited to 'test/syscalls/linux')
0 files changed, 0 insertions, 0 deletions