Re: [PATCH v4 0/4] perf: Add more syscalls to benchmark

From: Tiezhu Yang
Date: Wed Nov 09 2022 - 21:02:26 EST




On 11/10/2022 02:15 AM, Namhyung Kim wrote:
Hello,

On Wed, Nov 9, 2022 at 12:29 AM Tiezhu Yang <yangtiezhu@xxxxxxxxxxx> wrote:

Tiezhu Yang (4):
tools x86: Keep list sorted by number in unistd_{32,64}.h
perf bench syscall: Introduce bench_syscall_common()
perf bench syscall: Add getpgrp syscall benchmark
perf bench syscall: Add execve syscall benchmark

Have you tested it on non-x86 too? It seems you only added the syscall
numbers to x86.


Hi Namhyung,

Thank you for your reply.

I tested only on x86, when build on arm64, there exists
the following build error:

error: ‘__NR_getpgrp’ undeclared (first use in this function)

this is because __NR_getpgrp is deprecated on some archs.

Sorry for that, let me use getpgid, I will test on x86_64, arm64,
mips64 and loongarch64, and then send v5, thank you.

Thanks,
Tiezhu