Skip to content

perf s390: Use syscall.tbl to create the perf syscall table

Hendrik Brueckner linux-perf-users linux-s390 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3Revert "tools include s390: Grab a copy of arch/s390/include/uapi/asm/unistd.h"tools/arch/s390/include/uapi/asm/unistd.h tools/perf/check-headers.sh+0 -4132 replies
2/3perf s390: Grab a copy of arch/s390/kernel/syscall/syscall.tbltools/perf/arch/s390/entry/syscalls/syscall.tbl+390 -00 replies
3/3perf s390: Rework system call table creation by using syscall.tbltools/perf/arch/s390/Makefile tools/perf/arch/s390/entry/syscalls/mksyscalltbl+14 -140 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] perf s390: Use syscall.tbl to create the perf syscall table

With commit 857f46b "s390/syscalls: add system call table", I have introduced a syscall.tbl file to generate the system call table for s390, as well as, respective unistd.h header files for 64-bit and compat system calls.

Because the unistd.h is now generated, update perf with a copy of the syscall.tbl file and adapt the script that generates the system call table for perf trace to support wildcard syscall matches.

The patch set is based on the perf/core branch.

Hendrik Brueckner (3):
Revert "tools include s390: Grab a copy of

    arch/s390/include/uapi/asm/unistd.h"

perf s390: Grab a copy of arch/s390/kernel/syscall/syscall.tbl perf s390: Rework system call table creation by using syscall.tbl

 tools/arch/s390/include/uapi/asm/unistd.h        | 412 -----------------------
 tools/perf/arch/s390/Makefile                    |  10 +-
 tools/perf/arch/s390/entry/syscalls/mksyscalltbl |  18 +-
 tools/perf/arch/s390/entry/syscalls/syscall.tbl  | 390 +++++++++++++++++++++
 tools/perf/check-headers.sh                      |   1 -
 5 files changed, 404 insertions(+), 427 deletions(-)
 delete mode 100644 tools/arch/s390/include/uapi/asm/unistd.h
 create mode 100644 tools/perf/arch/s390/entry/syscalls/syscall.tbl
Signature · 1 line
1.8.3.1