]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
tools headers x86: Sync table due to introducion of uprobe syscall
authorArnaldo Carvalho de Melo <acme@redhat.com>
Sat, 1 Nov 2025 16:04:20 +0000 (13:04 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Sat, 1 Nov 2025 16:04:20 +0000 (13:04 -0300)
To pick the changes in this cset:

  56101b69c9190667 ("uprobes/x86: Add uprobe syscall to speed up uprobe")

That add support for this new 'uprobe' syscall in tools such as 'perf trace'.

Now it is possible to do a system wide 'perf trace' to look if this new
syscall is being used:

  root@number:~# perf trace -v -e uprobe
  <SNIP>
  event qualifier tracepoint filter: (common_pid != 33989) && (id == 336)
  ^C
  root@number#

  $ grep -w uprobe tools/perf/arch/x86/entry/syscalls/syscall_64.tbl
  336 common uprobe sys_uprobe
  $

This addresses these perf build warnings:

  Warning: Kernel ABI header differences:
    diff -u tools/perf/arch/x86/entry/syscalls/syscall_64.tbl arch/x86/entry/syscalls/syscall_64.tbl

Please see tools/include/uapi/README for further details.

Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/arch/x86/entry/syscalls/syscall_64.tbl

index 92cf0fe2291eb99b536e4de4201aec16b3472094..ced2a1deecd7ce082b786a8e7a7b094f6b74904c 100644 (file)
 333    common  io_pgetevents           sys_io_pgetevents
 334    common  rseq                    sys_rseq
 335    common  uretprobe               sys_uretprobe
+336    common  uprobe                  sys_uprobe
 # don't use numbers 387 through 423, add new calls after the last
 # 'common' entry
 424    common  pidfd_send_signal       sys_pidfd_send_signal