Messages in this thread | | | Date | Tue, 17 Oct 2023 10:24:26 +0200 | Subject | Re: [PATCH 6/6] perf/benchmark: add a new benchmark for seccom_unotify | From | Jiri Slaby <> |
| |
On 08. 03. 23, 8:32, Andrei Vagin wrote: > --- a/tools/arch/x86/include/uapi/asm/unistd_32.h > +++ b/tools/arch/x86/include/uapi/asm/unistd_32.h > @@ -23,3 +23,6 @@ > #ifndef __NR_setns > #define __NR_setns 346 > #endif > +#ifdef __NR_seccomp
Ouch. s/ifdef/ifndef/
bench/sched-seccomp-notify.c:46:24: error: '__NR_seccomp' undeclared
Will send a fix.
> +#define __NR_seccomp 354 > +#endif > diff --git a/tools/arch/x86/include/uapi/asm/unistd_64.h b/tools/arch/x86/include/uapi/asm/unistd_64.h > index a6f7fe84d4df..e0549617f9d7 100644 > --- a/tools/arch/x86/include/uapi/asm/unistd_64.h > +++ b/tools/arch/x86/include/uapi/asm/unistd_64.h > @@ -23,3 +23,6 @@ > #ifndef __NR_getcpu > #define __NR_getcpu 309 > #endif > +#ifndef __NR_seccomp
This one is good...
-- js suse labs
| |