History

tools/include: Sync uapi/asm-generic/unistd.h with the kernel sources

And arch syscall tables to pick up changes from: b1e31c134a8a powerpc: restore some missing spu syscalls d3882564a77c syscalls: fix compat_sys_io_pgetevents_time64 usage 54233a425403 uretprobe: change syscall number, again 63ded110979b uprobe: Change uretprobe syscall scope and number 9142be9e6443 x86/syscall: Mark exit[_group] syscall handlers __noreturn 9aae1baa1c5d x86, arm: Add missing license tag to syscall tables files 5c28424e9a34 syscalls: Fix to add sys_uretprobe to syscall.tbl 190fec72df4a uprobe: Wire up uretprobe system call This should be used to beautify syscall arguments and it addresses these tools/perf build warnings: Warning: Kernel ABI header differences: diff -u tools/include/uapi/asm-generic/unistd.h include/uapi/asm-generic/unistd.h diff -u tools/perf/arch/x86/entry/syscalls/syscall_64.tbl arch/x86/entry/syscalls/syscall_64.tbl diff -u tools/perf/arch/powerpc/entry/syscalls/syscall.tbl arch/powerpc/kernel/syscalls/syscall.tbl diff -u tools/perf/arch/s390/entry/syscalls/syscall.tbl arch/s390/kernel/syscalls/syscall.tbl Please see tools/include/uapi/README for details (it's in the first patch of this series).

Namhyung Kim committed 2 years ago

Commit 568901e1 parent b9735004 files · +12 −6Browse files

Unified · Split

4 files
  1. tools/include/uapi/asm-generic/unistd.h +1 −1
  2. tools/perf/arch/powerpc/entry/syscalls/syscall.tbl +5 −1
  3. tools/perf/arch/s390/entry/syscalls/syscall.tbl +1 −1
  4. tools/perf/arch/x86/entry/syscalls/syscall_64.tbl +5 −3
tools/include/uapi/asm-generic/unistd.h+1−1
@@ -737,7 +737,7 @@ __SC_COMP(__NR_pselect6_time64, sys_pselect6, compat_sys_pselect6_time64) · 736 unmodified lines
737#define __NR_ppoll_time64 414737#define __NR_ppoll_time64 414
738__SC_COMP(__NR_ppoll_time64, sys_ppoll, compat_sys_ppoll_time64)738__SC_COMP(__NR_ppoll_time64, sys_ppoll, compat_sys_ppoll_time64)
739#define __NR_io_pgetevents_time64 416739#define __NR_io_pgetevents_time64 416
740__SYSCALL(__NR_io_pgetevents_time64, sys_io_pgetevents)740__SC_COMP(__NR_io_pgetevents_time64, sys_io_pgetevents, compat_sys_io_pgetevents_time64)
741#define __NR_recvmmsg_time64 417741#define __NR_recvmmsg_time64 417
742__SC_COMP(__NR_recvmmsg_time64, sys_recvmmsg, compat_sys_recvmmsg_time64)742__SC_COMP(__NR_recvmmsg_time64, sys_recvmmsg, compat_sys_recvmmsg_time64)
743#define __NR_mq_timedsend_time64 418743#define __NR_mq_timedsend_time64 418
tools/perf/arch/powerpc/entry/syscalls/syscall.tbl+5−1
@@ -230,8 +230,10 @@ · 229 unmodified lines
230178 nospu rt_sigsuspend sys_rt_sigsuspend compat_sys_rt_sigsuspend230178 nospu rt_sigsuspend sys_rt_sigsuspend compat_sys_rt_sigsuspend
231179 32 pread64 sys_ppc_pread64 compat_sys_ppc_pread64231179 32 pread64 sys_ppc_pread64 compat_sys_ppc_pread64
232179 64 pread64 sys_pread64232179 64 pread64 sys_pread64
233179 spu pread64 sys_pread64
233180 32 pwrite64 sys_ppc_pwrite64 compat_sys_ppc_pwrite64234180 32 pwrite64 sys_ppc_pwrite64 compat_sys_ppc_pwrite64
234180 64 pwrite64 sys_pwrite64235180 64 pwrite64 sys_pwrite64
236180 spu pwrite64 sys_pwrite64
235181 common chown sys_chown237181 common chown sys_chown
236182 common getcwd sys_getcwd238182 common getcwd sys_getcwd
237183 common capget sys_capget239183 common capget sys_capget
@@ -246,6 +248,7 @@ · 8 unmodified lines
246190 common ugetrlimit sys_getrlimit compat_sys_getrlimit248190 common ugetrlimit sys_getrlimit compat_sys_getrlimit
247191 32 readahead sys_ppc_readahead compat_sys_ppc_readahead249191 32 readahead sys_ppc_readahead compat_sys_ppc_readahead
248191 64 readahead sys_readahead250191 64 readahead sys_readahead
251191 spu readahead sys_readahead
249192 32 mmap2 sys_mmap2 compat_sys_mmap2252192 32 mmap2 sys_mmap2 compat_sys_mmap2
250193 32 truncate64 sys_ppc_truncate64 compat_sys_ppc_truncate64253193 32 truncate64 sys_ppc_truncate64 compat_sys_ppc_truncate64
251194 32 ftruncate64 sys_ppc_ftruncate64 compat_sys_ppc_ftruncate64254194 32 ftruncate64 sys_ppc_ftruncate64 compat_sys_ppc_ftruncate64
@@ -293,6 +296,7 @@ · 41 unmodified lines
293232 nospu set_tid_address sys_set_tid_address296232 nospu set_tid_address sys_set_tid_address
294233 32 fadvise64 sys_ppc32_fadvise64 compat_sys_ppc32_fadvise64297233 32 fadvise64 sys_ppc32_fadvise64 compat_sys_ppc32_fadvise64
295233 64 fadvise64 sys_fadvise64298233 64 fadvise64 sys_fadvise64
299233 spu fadvise64 sys_fadvise64
296234 nospu exit_group sys_exit_group300234 nospu exit_group sys_exit_group
297235 nospu lookup_dcookie sys_ni_syscall301235 nospu lookup_dcookie sys_ni_syscall
298236 common epoll_create sys_epoll_create302236 common epoll_create sys_epoll_create
@@ -502,7 +506,7 @@ · 203 unmodified lines
502412 32 utimensat_time64 sys_utimensat sys_utimensat506412 32 utimensat_time64 sys_utimensat sys_utimensat
503413 32 pselect6_time64 sys_pselect6 compat_sys_pselect6_time64507413 32 pselect6_time64 sys_pselect6 compat_sys_pselect6_time64
504414 32 ppoll_time64 sys_ppoll compat_sys_ppoll_time64508414 32 ppoll_time64 sys_ppoll compat_sys_ppoll_time64
505416 32 io_pgetevents_time64 sys_io_pgetevents sys_io_pgetevents509416 32 io_pgetevents_time64 sys_io_pgetevents compat_sys_io_pgetevents_time64
506417 32 recvmmsg_time64 sys_recvmmsg compat_sys_recvmmsg_time64510417 32 recvmmsg_time64 sys_recvmmsg compat_sys_recvmmsg_time64
507418 32 mq_timedsend_time64 sys_mq_timedsend sys_mq_timedsend511418 32 mq_timedsend_time64 sys_mq_timedsend sys_mq_timedsend
508419 32 mq_timedreceive_time64 sys_mq_timedreceive sys_mq_timedreceive512419 32 mq_timedreceive_time64 sys_mq_timedreceive sys_mq_timedreceive
tools/perf/arch/s390/entry/syscalls/syscall.tbl+1−1
@@ -418,7 +418,7 @@ · 417 unmodified lines
418412 32 utimensat_time64 - sys_utimensat418412 32 utimensat_time64 - sys_utimensat
419413 32 pselect6_time64 - compat_sys_pselect6_time64419413 32 pselect6_time64 - compat_sys_pselect6_time64
420414 32 ppoll_time64 - compat_sys_ppoll_time64420414 32 ppoll_time64 - compat_sys_ppoll_time64
421416 32 io_pgetevents_time64 - sys_io_pgetevents421416 32 io_pgetevents_time64 - compat_sys_io_pgetevents_time64
422417 32 recvmmsg_time64 - compat_sys_recvmmsg_time64422417 32 recvmmsg_time64 - compat_sys_recvmmsg_time64
423418 32 mq_timedsend_time64 - sys_mq_timedsend423418 32 mq_timedsend_time64 - sys_mq_timedsend
424419 32 mq_timedreceive_time64 - sys_mq_timedreceive424419 32 mq_timedreceive_time64 - sys_mq_timedreceive
tools/perf/arch/x86/entry/syscalls/syscall_64.tbl+5−3
@@ -1,8 +1,9 @@
1# SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note
1#2#
2# 64-bit system call numbers and entry vectors3# 64-bit system call numbers and entry vectors
3#4#
4# The format is:5# The format is:
5# <number> <abi> <name> <entry point>6# <number> <abi> <name> <entry point> [<compat entry point> [noreturn]]
6#7#
7# The __x64_sys_*() stubs are created on-the-fly for sys_*() system calls8# The __x64_sys_*() stubs are created on-the-fly for sys_*() system calls
8#9#
@@ -68,7 +69,7 @@ · 59 unmodified lines
6857 common fork sys_fork6957 common fork sys_fork
6958 common vfork sys_vfork7058 common vfork sys_vfork
7059 64 execve sys_execve7159 64 execve sys_execve
7160 common exit sys_exit7260 common exit sys_exit - noreturn
7261 common wait4 sys_wait47361 common wait4 sys_wait4
7362 common kill sys_kill7462 common kill sys_kill
7463 common uname sys_newuname7563 common uname sys_newuname
@@ -239,7 +240,7 @@ · 164 unmodified lines
239228 common clock_gettime sys_clock_gettime240228 common clock_gettime sys_clock_gettime
240229 common clock_getres sys_clock_getres241229 common clock_getres sys_clock_getres
241230 common clock_nanosleep sys_clock_nanosleep242230 common clock_nanosleep sys_clock_nanosleep
242231 common exit_group sys_exit_group243231 common exit_group sys_exit_group - noreturn
243232 common epoll_wait sys_epoll_wait244232 common epoll_wait sys_epoll_wait
244233 common epoll_ctl sys_epoll_ctl245233 common epoll_ctl sys_epoll_ctl
245234 common tgkill sys_tgkill246234 common tgkill sys_tgkill
@@ -343,6 +344,7 @@ · 97 unmodified lines
343332 common statx sys_statx344332 common statx sys_statx
344333 common io_pgetevents sys_io_pgetevents345333 common io_pgetevents sys_io_pgetevents
345334 common rseq sys_rseq346334 common rseq sys_rseq
347335 common uretprobe sys_uretprobe
346# don't use numbers 387 through 423, add new calls after the last348# don't use numbers 387 through 423, add new calls after the last
347# 'common' entry349# 'common' entry
348424 common pidfd_send_signal sys_pidfd_send_signal350424 common pidfd_send_signal sys_pidfd_send_signal

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t