WSL2-Linux-Kernel/tools/arch/x86/include/uapi/asm
Tiezhu Yang ece7f7c050 perf bench syscall: Add fork syscall benchmark
This is a follow up patch for the execve bench which is actually
fork + execve, it makes sense to add the fork syscall benchmark
to compare the execve part precisely.

Some archs have no __NR_fork definition which is used only as a
check condition to call test_fork(), let us just define it as -1
to avoid build error.

Suggested-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: loongson-kernel@lists.loongnix.cn
Link: https://lore.kernel.org/r/1679381821-22736-1-git-send-email-yangtiezhu@loongson.cn
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2023-04-04 09:39:55 -03:00
..
bitsperlong.h
errno.h tools include arch: Grab a copy of errno.h for arch's supported by perf 2018-01-23 09:51:37 -03:00
kvm.h tools headers kvm: Sync uapi/{asm/linux} kvm.h headers with the kernel sources 2023-03-03 23:24:10 -03:00
kvm_perf.h
mman.h
perf_regs.h perf/x86/regs: Use PERF_REG_EXTENDED_MASK 2019-06-24 19:19:26 +02:00
prctl.h tools headers UAPI: Sync x86 arch prctl headers with the kernel sources 2022-01-19 14:41:29 -03:00
svm.h tools headers svm: Sync svm headers with the kernel sources 2023-03-02 17:38:32 -03:00
unistd.h tools arch x86 uapi: Synch asm/unistd.h with the kernel sources 2020-06-09 12:40:03 -03:00
unistd_32.h perf bench syscall: Add fork syscall benchmark 2023-04-04 09:39:55 -03:00
unistd_64.h perf bench syscall: Add fork syscall benchmark 2023-04-04 09:39:55 -03:00
vmx.h tools headers UAPI: Sync KVM's vmx.h header with the kernel sources 2022-08-19 15:30:34 -03:00