Skip to content
  • Linus Torvalds's avatar
    Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 174e7194
    Linus Torvalds authored
    Pull more perf updates from Thomas Gleixner:
     "A rather large set of perf updates:
    
      Kernel:
    
       - Fix various initialization issues
    
       - Prevent creating [ku]probes for not CAP_SYS_ADMIN users
    
      Tooling:
    
       - Show only failing syscalls with 'perf trace --failure' (Arnaldo
         Carvalho de Melo)
    
                e.g: See what 'openat' syscalls are failing:
    
            # perf trace --failure -e openat
             762.323 ( 0.007 ms): VideoCapture/4566 openat(dfd: CWD, filename: /dev/video2) = -1 ENOENT No such file or directory
             <SNIP N /dev/videoN open attempts... sigh, where is that improvised camera lid?!? >
             790.228 ( 0.008 ms): VideoCapture/4566 openat(dfd: CWD, filename: /dev/video63) = -1 ENOENT No such file or directory
            ^C#
    
       - Show information about the event (freq, nr_samples, total
         period/nr_events) in the annotate --tui and --stdio2 'perf
         annotate' output, similar to the first line in the 'perf report
         --tui', but just for the samples for a the annotated symbol
         (Arnaldo Carvalho de Melo)
    
       - Introduce 'perf version --build-options' to show what features were
         linked, aliased as well as a shorter 'perf -vv' (Jin Yao)
    
       - Add a "dso_size" sort order (Kim Phillips)
    
       - Remove redundant ')' in the tracepoint output in 'perf trace'
         (Changbin Du)
    
       - Synchronize x86's cpufeatures.h, no effect on toolss (Arnaldo
         Carvalho de Melo)
    
       - Show group details on the title line in the annotate browser and
         'perf annotate --stdio2' output, so that the per-event columns can
         have headers (Arnaldo Carvalho de Melo)
    
       - Fixup vertical line separating metrics from instructions and
         cleaning unused lines at the bottom, both in the annotate TUI
         browser (Arnaldo Carvalho de Melo)
    
       - Remove duplicated 'samples' in lost samples warning in
         'perf report' (Arnaldo Carvalho de Melo)
    
       - Synchronize i915_drm.h, silencing the perf build process,
         automagically adding support for the new DRM_I915_QUERY ioctl
         (Arnaldo Carvalho de Melo)
    
       - Make auxtrace_queues__add_buffer() allocate struct buffer, from a
         patchkit already applied (Adrian Hunter)
    
       - Fix the --stdio2/TUI annotate output to include group details, be
         it for a recorded '{a,b,f}' explicit event group or when forcing
         group display using 'perf report --group' for a set of events not
         recorded as a group (Arnaldo Carvalho de Melo)
    
       - Fix display artifacts in the ui browser (base class for the
         annotate and main report/top TUI browser) related to the extra
         title lines work (Arnaldo Carvalho de Melo)
    
       - perf auxtrace refactorings, leftovers from a previously partially
         processed patchset (Adrian Hunter)
    
       - Fix the builtin clang build (Sandipan Das, Arnaldo Carvalho de
         Melo)
    
       - Synchronize i915_drm.h, silencing a perf build warning and in the
         process automagically adding support for a new ioctl command
         (Arnaldo Carvalho de Melo)
    
       - Fix a strncpy issue in uprobe tracing"
    
    * 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (36 commits)
      perf/core: Need CAP_SYS_ADMIN to create k/uprobe with perf_event_open()
      tracing/uprobe_event: Fix strncpy corner case
      perf/core: Fix perf_uprobe_init()
      perf/core: Fix perf_kprobe_init()
      perf/core: Fix use-after-free in uprobe_perf_close()
      perf tests clang: Fix function name for clang IR test
      perf clang: Add support for recent clang versions
      perf tools: Fix perf builds with clang support
      perf tools: No need to include namespaces.h in util.h
      perf hists browser: Remove leftover from row returned from refresh
      perf hists browser: Show extra_title_lines in the 'D' debug hotkey
      perf auxtrace: Make auxtrace_queues__add_buffer() do CPU filtering
      tools headers uapi: Synchronize i915_drm.h
      perf report: Remove duplicated 'samples' in lost samples warning
      perf ui browser: Fixup cleaning unused lines at the bottom
      perf annotate browser: Fixup vertical line separating metrics from instructions
      perf annotate: Show group details on the title line
      perf auxtrace: Make auxtrace_queues__add_buffer() allocate struct buffer
      perf/x86/intel: Move regs->flags EXACT bit init
      perf trace: Remove redundant ')'
      ...
    174e7194