• Linus Torvalds's avatar
    Merge tag 'trace-v5.9-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace · eff48dde
    Linus Torvalds authored
    Pull tracing fixes from Steven Rostedt:
    
     - Check kprobe is enabled before unregistering from ftrace as it isn't
       registered when disabled.
    
     - Remove kprobes enabled via command-line that is on init text when
       freed.
    
     - Add missing RCU synchronization for ftrace trampoline symbols removed
       from kallsyms.
    
     - Free trampoline on error path if ftrace_startup() fails.
    
     - Give more space for the longer PID numbers in trace output.
    
     - Fix a possible double free in the histogram code.
    
     - A couple of fixes that were discovered by sparse.
    
    * tag 'trace-v5.9-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace:
      bootconfig: init: make xbc_namebuf static
      kprobes: tracing/kprobes: Fix to kill kprobes on initmem after boot
      tracing: fix double free
      ftrace: Let ftrace_enable_sysctl take a kernel pointer buffer
      tracing: Make the space reserved for the pid wider
      ftrace: Fix missing synchronize_rcu() removing trampoline from kallsyms
      ftrace: Free the trampoline when ftrace_startup() fails
      kprobes: Fix to check probe enabled before disarm_kprobe_ftrace()
    eff48dde
kprobes.c 68.2 KB