• Linus Torvalds's avatar
    Merge tag 'probes-v6.11' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace · 91bd008d
    Linus Torvalds authored
    Pull probes updates from Masami Hiramatsu:
     "Uprobes:
    
       - x86/shstk: Make return uprobe work with shadow stack
    
       - Add uretprobe syscall which speeds up the uretprobe 10-30% faster.
         This syscall is automatically used from user-space trampolines
         which are generated by the uretprobe. If this syscall is used by
         normal user program, it will cause SIGILL. Note that this is
         currently only implemented on x86_64.
    
         (This also has two fixes for adjusting the syscall number to avoid
         conflict with new *attrat syscalls.)
    
       - uprobes/perf: fix user stack traces in the presence of pending
         uretprobe. This corrects the uretprobe's trampoline address in the
         stacktrace with correct return address
    
       - selftests/x86: Add a return uprobe with shadow stack test
    
       - selftests/bpf: Add uretprobe syscall related tests.
          - test case for register integrity check
          - test case with register changing case
          - test case for uretprobe syscall without uprobes (expected to fail)
          - test case for uretprobe with shadow stack
    
       - selftests/bpf: add test validating uprobe/uretprobe stack traces
    
       - MAINTAINERS: Add uprobes entry. This does not specify the tree but
         to clarify who maintains and reviews the uprobes
    
      Kprobes:
    
       - tracing/kprobes: Test case cleanups.
    
         Replace redundant WARN_ON_ONCE() + pr_warn() with WARN_ONCE() and
         remove unnecessary code from selftest
    
       - tracing/kprobes: Add symbol counting check when module loads.
    
         This checks the uniqueness of the probed symbol on modules. The
         same check has already done for kernel symbols
    
         (This also has a fix for build error with CONFIG_MODULES=n)
    
      Cleanup:
    
       - Add MODULE_DESCRIPTION() macros for fprobe and kprobe examples"
    
    * tag 'probes-v6.11' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace:
      MAINTAINERS: Add uprobes entry
      selftests/bpf: Change uretprobe syscall number in uprobe_syscall test
      uprobe: Change uretprobe syscall scope and number
      tracing/kprobes: Fix build error when find_module() is not available
      tracing/kprobes: Add symbol counting check when module loads
      selftests/bpf: add test validating uprobe/uretprobe stack traces
      perf,uprobes: fix user stack traces in the presence of pending uretprobes
      tracing/kprobe: Remove cleanup code unrelated to selftest
      tracing/kprobe: Integrate test warnings into WARN_ONCE
      selftests/bpf: Add uretprobe shadow stack test
      selftests/bpf: Add uretprobe syscall call from user space test
      selftests/bpf: Add uretprobe syscall test for regs changes
      selftests/bpf: Add uretprobe syscall test for regs integrity
      selftests/x86: Add return uprobe shadow stack test
      uprobe: Add uretprobe syscall to speed up return probe
      uprobe: Wire up uretprobe system call
      x86/shstk: Make return uprobe work with shadow stack
      samples: kprobes: add missing MODULE_DESCRIPTION() macros
      fprobe: add missing MODULE_DESCRIPTION() macro
    91bd008d
syscall_64.tbl 15.1 KB