History log of /linux-master/tools/testing/selftests/powerpc/benchmarks/exec_target.c
Revision Date Author Comments
# c906d2c7 11-May-2018 Nicholas Piggin <npiggin@gmail.com>

selftests/powerpc: fix exec benchmark

The exec_target binary could segfault calling _exit(2) because r13
is not set up properly (and libc looks at that when performing a
syscall). Call SYS_exit using syscall(2) which doesn't seem to
have this problem.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>


# dd40c5b4 06-Mar-2018 Nicholas Piggin <npiggin@gmail.com>

selftests/powerpc: Add process creation benchmark

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
[mpe: Add SPDX, and fixup formatting]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>