• Ingo Molnar's avatar
    Merge tag 'perf-core-for-mingo-20160516' of... · 21f77d23
    Ingo Molnar authored
    Merge tag 'perf-core-for-mingo-20160516' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core
    
    Pull perf/core improvements and fixes from Arnaldo Carvalho de Melo:
    
    User visible changes:
    
    - Honour the kernel.perf_event_max_stack knob more precisely by not counting
      PERF_CONTEXT_{KERNEL,USER} when deciding when to stop adding entries to
      the perf_sample->ip_callchain[] array (Arnaldo Carvalho de Melo)
    
    - Fix identation of 'stalled-backend-cycles' in 'perf stat' (Namhyung Kim)
    
    - Update runtime using 'cpu-clock' event in 'perf stat' (Namhyung Kim)
    
    - Use 'cpu-clock' for cpu targets in 'perf stat' (Namhyung Kim)
    
    - Avoid fractional digits for integer scales in 'perf stat' (Andi Kleen)
    
    - Store vdso buildid unconditionally, as it appears in callchains and
      we're not checking those when creating the build-id table, so we
      end up not being able to resolve VDSO symbols when doing analysis
      on a different machine than the one where recording was done, possibly
      of a different arch even (arm -> x86_64) (He Kuang)
    
    Infrastructure changes:
    
    - Generalize max_stack sysctl handler, will be used for configuring
      multiple kernel knobs related to callchains (Arnaldo Carvalho de Melo)
    
    Cleanups:
    
    - Introduce DSO__NAME_KALLSYMS and DSO__NAME_KCORE, to stop using
      open coded strings (Masami Hiramatsu)
    Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
    Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
    21f77d23
core.c 56.3 KB