Add getpid to measure the performance of system calls

This commit is contained in:
LI Qing
2024-04-19 16:32:19 +08:00
committed by Tate, Hongliang Tian
parent d28292cec4
commit 0ecb919e73
4 changed files with 56 additions and 2 deletions

View File

@ -8,7 +8,7 @@ SCRIPT_DIR=/regression
cd ${SCRIPT_DIR}/..
echo "Start process test......"
tests="hello_world/hello_world fork/fork execve/execve fork_c/fork signal_c/signal_test pthread/pthread_test hello_pie/hello pty/open_pty"
tests="hello_world/hello_world fork/fork execve/execve fork_c/fork signal_c/signal_test pthread/pthread_test hello_pie/hello pty/open_pty getpid/getpid"
for testcase in ${tests}
do
echo "Running test ${testcase}......"