• Linus Torvalds's avatar
    Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · c3931a87
    Linus Torvalds authored
    Pull perf fixes from Thomas Gleixner:
     "A couple of fixes for perf and kprobes:
    
       - Add he missing exclude_kernel attribute for the precise_ip level so
         !CAP_SYS_ADMIN users get the proper results.
    
       - Warn instead of failing completely when perf has no unwind support
         for a particular architectiure built in.
    
       - Ensure that jprobes are at function entry and not at some random
         place"
    
    * 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
      kprobes: Ensure that jprobe probepoints are at function entry
      kprobes: Simplify register_jprobes()
      kprobes: Rename [arch_]function_offset_within_entry() to [arch_]kprobe_on_func_entry()
      perf unwind: Do not fail due to missing unwind support
      perf evsel: Set attr.exclude_kernel when probing max attr.precise_ip
    c3931a87
kprobes.c 18.3 KB