diff options
| author | Ian Rogers <[email protected]> | 2025-03-19 05:07:35 +0000 |
|---|---|---|
| committer | Namhyung Kim <[email protected]> | 2025-03-21 05:58:08 +0000 |
| commit | 0fb641f0a1e704e1f774574b183401e7a7b6f5a8 (patch) | |
| tree | 0aa903e3d4efe28112973d1c838638e293333341 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | perf thread: Add support for reading the e_machine type for a thread (diff) | |
| download | kernel-0fb641f0a1e704e1f774574b183401e7a7b6f5a8.tar.gz kernel-0fb641f0a1e704e1f774574b183401e7a7b6f5a8.zip | |
perf trace beauty: Add syscalltbl.sh generating all system call tables
Rather than generating individual syscall header files generate a
single trace/beauty/generated/syscalltbl.c. In a syscalltbls array
have references to each architectures tables along with the
corresponding e_machine. When the 32-bit or 64-bit table is ambiguous,
match the perf binary's type. For ARM32 don't use the arm64 32-bit
table which is smaller. EM_NONE is present for is no machine matches.
Conditionally compile the tables, only having the appropriate 32 and
64-bit table. If ALL_SYSCALLTBL is defined all tables can be
compiled.
Add comment for noreturn column suggested by Arnd Bergmann:
https://lore.kernel.org/lkml/[email protected]/
and added in commit 9142be9e6443 ("x86/syscall: Mark exit[_group]
syscall handlers __noreturn").
Signed-off-by: Ian Rogers <[email protected]>
Reviewed-by: Howard Chu <[email protected]>
Reviewed-by: Charlie Jenkins <[email protected]>
Reviewed-by: Namhyung Kim <[email protected]>
Acked-by: Arnaldo Carvalho de Melo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Namhyung Kim <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions
