diff options
| author | Tiezhu Yang <[email protected]> | 2023-03-21 06:57:01 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2023-04-04 12:39:55 +0000 |
| commit | ece7f7c0507cc147f72e117e22732091db758885 (patch) | |
| tree | dba408a55d719e4ff50d10635cf34ca75569aa60 /tools/perf/util/annotate.c | |
| parent | perf stat: Suppress warning when using cpum_cf events on s390 (diff) | |
| download | kernel-ece7f7c0507cc147f72e117e22732091db758885.tar.gz kernel-ece7f7c0507cc147f72e117e22732091db758885.zip | |
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 <[email protected]>
Signed-off-by: Tiezhu Yang <[email protected]>
Acked-by: Namhyung Kim <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Ian Rogers <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/annotate.c')
0 files changed, 0 insertions, 0 deletions
