• Arnaldo Carvalho de Melo's avatar
    perf tools: Update x86's syscall_64.tbl, adding 'io_pgetevents' and 'rseq' · b1494ec0
    Arnaldo Carvalho de Melo authored
    This updates the tools/perf/ copy of the system call table for x86 which makes
    'perf trace' become aware of the new 'io_pgetevents' and 'rseq' syscalls, no
    matter in which system it gets built, i.e. older systems where the syscalls are
    not available in the running kernel (via tracefs) or in the system headers will
    still be aware of these syscalls/.
    
    These are the csets introducing the source drift:
    
      05c17ced ("x86: Wire up restartable sequence system call")
      7a074e96 ("aio: implement io_pgetevents")
    
    This results in this build time change:
    
      $ diff -u /tmp/build/perf/arch/x86/include/generated/asm/syscalls_64.c.old /tmp/build/perf/arch/x86/include/generated/asm/syscalls_64.c
      --- /tmp/build/perf/arch/x86/include/generated/asm/syscalls_64.c.old	2018-06-15 11:48:17.648948094 -0300
      +++ /tmp/build/perf/arch/x86/include/generated/asm/syscalls_64.c	2018-06-15 11:48:22.133942480 -0300
      @@ -332,5 +332,7 @@
              [330] = "pkey_alloc",
              [331] = "pkey_free",
              [332] = "statx",
      +       [333] = "io_pgetevents",
      +       [334] = "rseq",
       };
      -#define SYSCALLTBL_x86_64_MAX_ID 332
      +#define SYSCALLTBL_x86_64_MAX_ID 334
      $
    
    This silences the following tools/perf/ build warning:
    
      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'
    
    Cc: Adrian Hunter <adrian.hunter@intel.com>
    Cc: Christoph Hellwig <hch@lst.de>
    Cc: David Ahern <dsahern@gmail.com>
    Cc: Jiri Olsa <jolsa@kernel.org>
    Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
    Cc: Namhyung Kim <namhyung@kernel.org>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Wang Nan <wangnan0@huawei.com>
    Link: https://lkml.kernel.org/n/tip-tfvyz51sabuzemrszbrhzxni@git.kernel.orgSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
    b1494ec0
syscall_64.tbl 15.3 KB