• Arnaldo Carvalho de Melo's avatar
    tools headers UAPI: Sync files changed by landlock, quotactl_path and mount_settattr new syscalls · f8bcb061
    Arnaldo Carvalho de Melo authored
    To pick the changes in these csets:
    
      a49f4f81 ("arch: Wire up Landlock syscalls")
      2a186721 ("fs: add mount_setattr()")
      fa8b9007 ("quota: wire up quotactl_path")
    
    That silences these perf build warnings and add support for those new
    syscalls in tools such as 'perf trace'.
    
    For instance, this is now possible:
    
      # ~acme/bin/perf trace -v -e landlock*
      event qualifier tracepoint filter: (common_pid != 129365 && common_pid != 3502) && (id == 444 || id == 445 || id == 446)
      ^C#
    
    That is tha filter expression attached to the raw_syscalls:sys_{enter,exit}
    tracepoints.
    
      $ grep landlock tools/perf/arch/x86/entry/syscalls/syscall_64.tbl
      444	common	landlock_create_ruleset	sys_landlock_create_ruleset
      445	common	landlock_add_rule	sys_landlock_add_rule
      446	common	landlock_restrict_self	sys_landlock_restrict_self
      $
    
    This addresses these perf build warnings:
    
      Warning: Kernel ABI header at 'tools/include/uapi/asm-generic/unistd.h' differs from latest version at 'include/uapi/asm-generic/unistd.h'
      diff -u tools/include/uapi/asm-generic/unistd.h include/uapi/asm-generic/unistd.h
      Warning: Kernel ABI header at 'tools/perf/arch/x86/entry/syscalls/syscall_64.tbl' differs from latest version at 'arch/x86/entry/syscalls/syscall_64.tbl'
      diff -u tools/perf/arch/x86/entry/syscalls/syscall_64.tbl arch/x86/entry/syscalls/syscall_64.tbl
      Warning: Kernel ABI header at 'tools/perf/arch/powerpc/entry/syscalls/syscall.tbl' differs from latest version at 'arch/powerpc/kernel/syscalls/syscall.tbl'
      diff -u tools/perf/arch/powerpc/entry/syscalls/syscall.tbl arch/powerpc/kernel/syscalls/syscall.tbl
      Warning: Kernel ABI header at 'tools/perf/arch/s390/entry/syscalls/syscall.tbl' differs from latest version at 'arch/s390/kernel/syscalls/syscall.tbl'
      diff -u tools/perf/arch/s390/entry/syscalls/syscall.tbl arch/s390/kernel/syscalls/syscall.tbl
      Warning: Kernel ABI header at 'tools/perf/arch/mips/entry/syscalls/syscall_n64.tbl' differs from latest version at 'arch/mips/kernel/syscalls/syscall_n64.tbl'
      diff -u tools/perf/arch/mips/entry/syscalls/syscall_n64.tbl arch/mips/kernel/syscalls/syscall_n64.tbl
    
    Cc: Christian Brauner <christian.brauner@ubuntu.com>
    Cc: James Morris <jamorris@linux.microsoft.com>
    Cc: Jan Kara <jack@suse.cz>
    Cc: Mickaël Salaün <mic@linux.microsoft.com>
    Cc: Sascha Hauer <s.hauer@pengutronix.de>
    Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
    f8bcb061
syscall_n64.tbl 12 KB