Skip to content

Commit 52174e0

Browse files
committed
tools headers: Sync syscall tables with the kernel source
To pick up the changes in this cset: be7efb2 fs: introduce file_getattr and file_setattr syscalls This addresses these 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/scripts/syscall.tbl scripts/syscall.tbl diff -u tools/perf/arch/x86/entry/syscalls/syscall_32.tbl arch/x86/entry/syscalls/syscall_32.tbl 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 diff -u tools/perf/arch/mips/entry/syscalls/syscall_n64.tbl arch/mips/kernel/syscalls/syscall_n64.tbl diff -u tools/perf/arch/arm/entry/syscalls/syscall.tbl arch/arm/tools/syscall.tbl diff -u tools/perf/arch/sh/entry/syscalls/syscall.tbl arch/sh/kernel/syscalls/syscall.tbl diff -u tools/perf/arch/sparc/entry/syscalls/syscall.tbl arch/sparc/kernel/syscalls/syscall.tbl diff -u tools/perf/arch/xtensa/entry/syscalls/syscall.tbl arch/xtensa/kernel/syscalls/syscall.tbl Please see tools/include/uapi/README for further details. Cc: Arnd Bergmann <[email protected]> CC: [email protected] Signed-off-by: Namhyung Kim <[email protected]>
1 parent c85538c commit 52174e0

File tree

11 files changed

+27
-1
lines changed

11 files changed

+27
-1
lines changed

tools/include/uapi/asm-generic/unistd.h

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -852,8 +852,14 @@ __SYSCALL(__NR_removexattrat, sys_removexattrat)
852852
#define __NR_open_tree_attr 467
853853
__SYSCALL(__NR_open_tree_attr, sys_open_tree_attr)
854854

855+
/* fs/inode.c */
856+
#define __NR_file_getattr 468
857+
__SYSCALL(__NR_file_getattr, sys_file_getattr)
858+
#define __NR_file_setattr 469
859+
__SYSCALL(__NR_file_setattr, sys_file_setattr)
860+
855861
#undef __NR_syscalls
856-
#define __NR_syscalls 468
862+
#define __NR_syscalls 470
857863

858864
/*
859865
* 32 bit systems traditionally used different

tools/perf/arch/arm/entry/syscalls/syscall.tbl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -482,3 +482,5 @@
482482
465 common listxattrat sys_listxattrat
483483
466 common removexattrat sys_removexattrat
484484
467 common open_tree_attr sys_open_tree_attr
485+
468 common file_getattr sys_file_getattr
486+
469 common file_setattr sys_file_setattr

tools/perf/arch/mips/entry/syscalls/syscall_n64.tbl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -382,3 +382,5 @@
382382
465 n64 listxattrat sys_listxattrat
383383
466 n64 removexattrat sys_removexattrat
384384
467 n64 open_tree_attr sys_open_tree_attr
385+
468 n64 file_getattr sys_file_getattr
386+
469 n64 file_setattr sys_file_setattr

tools/perf/arch/powerpc/entry/syscalls/syscall.tbl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -558,3 +558,5 @@
558558
465 common listxattrat sys_listxattrat
559559
466 common removexattrat sys_removexattrat
560560
467 common open_tree_attr sys_open_tree_attr
561+
468 common file_getattr sys_file_getattr
562+
469 common file_setattr sys_file_setattr

tools/perf/arch/s390/entry/syscalls/syscall.tbl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -470,3 +470,5 @@
470470
465 common listxattrat sys_listxattrat sys_listxattrat
471471
466 common removexattrat sys_removexattrat sys_removexattrat
472472
467 common open_tree_attr sys_open_tree_attr sys_open_tree_attr
473+
468 common file_getattr sys_file_getattr sys_file_getattr
474+
469 common file_setattr sys_file_setattr sys_file_setattr

tools/perf/arch/sh/entry/syscalls/syscall.tbl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -471,3 +471,5 @@
471471
465 common listxattrat sys_listxattrat
472472
466 common removexattrat sys_removexattrat
473473
467 common open_tree_attr sys_open_tree_attr
474+
468 common file_getattr sys_file_getattr
475+
469 common file_setattr sys_file_setattr

tools/perf/arch/sparc/entry/syscalls/syscall.tbl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -513,3 +513,5 @@
513513
465 common listxattrat sys_listxattrat
514514
466 common removexattrat sys_removexattrat
515515
467 common open_tree_attr sys_open_tree_attr
516+
468 common file_getattr sys_file_getattr
517+
469 common file_setattr sys_file_setattr

tools/perf/arch/x86/entry/syscalls/syscall_32.tbl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -473,3 +473,5 @@
473473
465 i386 listxattrat sys_listxattrat
474474
466 i386 removexattrat sys_removexattrat
475475
467 i386 open_tree_attr sys_open_tree_attr
476+
468 i386 file_getattr sys_file_getattr
477+
469 i386 file_setattr sys_file_setattr

tools/perf/arch/x86/entry/syscalls/syscall_64.tbl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -391,6 +391,8 @@
391391
465 common listxattrat sys_listxattrat
392392
466 common removexattrat sys_removexattrat
393393
467 common open_tree_attr sys_open_tree_attr
394+
468 common file_getattr sys_file_getattr
395+
469 common file_setattr sys_file_setattr
394396

395397
#
396398
# Due to a historical design error, certain syscalls are numbered differently

tools/perf/arch/xtensa/entry/syscalls/syscall.tbl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -438,3 +438,5 @@
438438
465 common listxattrat sys_listxattrat
439439
466 common removexattrat sys_removexattrat
440440
467 common open_tree_attr sys_open_tree_attr
441+
468 common file_getattr sys_file_getattr
442+
469 common file_setattr sys_file_setattr

0 commit comments

Comments
 (0)