[GIT PULL 00/27] perf/core improvements and fixes
From: Arnaldo Carvalho de Melo
Date: Thu Jun 23 2016 - 17:24:52 EST
Hi Ingo,
Please consider pulling,
- Arnaldo
The following changes since commit 4330b439bbe16b48dd2fe9a379bd58a07b97aab8:
Merge tag 'perf-core-for-mingo-20160621' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core (2016-06-22 09:34:19 +0200)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-core-for-mingo-20160623
for you to fetch changes up to 4a35b3497c413de8b409f9d75700eeb4772b21b8:
perf config: Reimplement show_config() using config_set__for_each (2016-06-23 17:23:00 -0300)
----------------------------------------------------------------
perf/core improvements and fixes:
New features:
- Add 'callindent' option to 'perf script -F', to indent the Intel PT
call stack, making this output more ftrace-like (Adrian Hunter, Andi Kleen)
User visible:
- Enlarge 'pid' column width, to cope with large pids (Jiri Olsa)
Infrastructure:
- Cross platform unwind fixes (He Kuang)
- Make destructors accept NULL, behaving like free() (Arnaldo Carvalho de Melo)
- Remove reference to perl interpreted in the recently added 'perf script'
stackcollapse python script (Arnaldo Carvalho de Melo)
- Rename CLASS__for_each() macros to CLASS__for_each_entry(), to use the
list_for_each_entry() semantics, as most of these class specific loop helpers
are list_for_each_entry*() wrappers (Arnaldo Carvalho de Melo)
- Expose the hist_browser code, will be used with data structures other
than perf_evsel (Jiri Olsa)
- 'perf config' refactorings (Taeung Song)
Signed-off-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
----------------------------------------------------------------
Adrian Hunter (3):
perf script: Print sample flags more nicely
perf auxtrace: Add option to feed branches to the thread stack
perf script: Add callindent option
Arnaldo Carvalho de Melo (9):
perf script stackcollapse: Remove reference to the perl interpreter
perf evlist: Destructors should accept NULL
perf session: Destructors should accept NULL
perf tests time-to-tsc: No need to disable an event before deleting it
perf machine: Destructors should accept NULL
perf evlist: Rename for_each() macros to for_each_entry()
perf tools: Rename strlist_for_each() macros to for_each_entry()
perf rb_resort: Rename for_each() macros to for_each_entry()
perf intlist: Rename for_each() macros to for_each_entry()
He Kuang (5):
perf tools: Let python use correct gcc for build_ext
perf tools: Find right DSO taking into account if binary is 32 or 64-bit
perf unwind: Change macro names of perf register
perf unwind: Fix wrongly used regs for x86_32 unwind
perf unwind: Fix wrongly used regs for aarch64 unwind
Jiri Olsa (7):
perf hists browser: Move hist_browser into header file
perf hists browser: Make (new|delete|run) public
perf hists browser: Introduce struct hist_browser title callback
perf hists browser: Move horizontal scroll init to new()
perf hists browser: Introduce perf_evsel_browser constructor
perf hists browser: Introduce init()
perf hists: Enlarge pid sort entry size
Taeung Song (3):
perf config: Move config declarations from util/cache.h to util/config.h
perf config: Introduce new init() and exit()
perf config: Reimplement show_config() using config_set__for_each
tools/perf/Documentation/perf-script.txt | 11 ++-
tools/perf/Makefile.perf | 3 +-
tools/perf/arch/x86/tests/perf-time-to-tsc.c | 6 +-
tools/perf/arch/x86/util/auxtrace.c | 2 +-
tools/perf/arch/x86/util/intel-bts.c | 8 +-
tools/perf/arch/x86/util/intel-pt.c | 10 +--
tools/perf/builtin-annotate.c | 2 +-
tools/perf/builtin-buildid-cache.c | 13 ++-
tools/perf/builtin-config.c | 21 +++--
tools/perf/builtin-diff.c | 10 +--
tools/perf/builtin-evlist.c | 2 +-
tools/perf/builtin-help.c | 2 +-
tools/perf/builtin-inject.c | 8 +-
tools/perf/builtin-kmem.c | 4 +-
tools/perf/builtin-kvm.c | 8 +-
tools/perf/builtin-probe.c | 4 +-
tools/perf/builtin-record.c | 3 +-
tools/perf/builtin-report.c | 12 +--
tools/perf/builtin-script.c | 115 +++++++++++++++++++++++++--
tools/perf/builtin-stat.c | 22 ++---
tools/perf/builtin-top.c | 10 +--
tools/perf/builtin-trace.c | 10 +--
tools/perf/perf.c | 4 +-
tools/perf/scripts/python/stackcollapse.py | 2 -
tools/perf/tests/backward-ring-buffer.c | 2 +-
tools/perf/tests/event-times.c | 3 +-
tools/perf/tests/evsel-roundtrip-name.c | 2 +-
tools/perf/tests/hists_filter.c | 4 +-
tools/perf/tests/hists_link.c | 4 +-
tools/perf/tests/mmap-basic.c | 2 +-
tools/perf/tests/parse-events.c | 4 +-
tools/perf/tests/parse-no-sample-id-all.c | 3 +-
tools/perf/tests/switch-tracking.c | 2 +-
tools/perf/ui/browser.c | 2 +-
tools/perf/ui/browsers/annotate.c | 1 +
tools/perf/ui/browsers/hists.c | 109 ++++++++++++-------------
tools/perf/ui/browsers/hists.h | 32 ++++++++
tools/perf/ui/gtk/hists.c | 2 +-
tools/perf/ui/hist.c | 2 +-
tools/perf/util/alias.c | 1 +
tools/perf/util/auxtrace.h | 2 +
tools/perf/util/cache.h | 11 ---
tools/perf/util/cgroup.c | 4 +-
tools/perf/util/color.c | 1 +
tools/perf/util/config.c | 92 ++++++++++-----------
tools/perf/util/config.h | 40 ++++++++++
tools/perf/util/data-convert-bt.c | 4 +-
tools/perf/util/evlist.c | 59 +++++++-------
tools/perf/util/evlist.h | 40 +++++-----
tools/perf/util/header.c | 18 ++---
tools/perf/util/help-unknown-cmd.c | 1 +
tools/perf/util/hist.c | 4 +-
tools/perf/util/intel-bts.c | 24 ++++--
tools/perf/util/intel-pt.c | 26 +++---
tools/perf/util/intlist.h | 8 +-
tools/perf/util/jitdump.c | 2 +-
tools/perf/util/libunwind/arm64.c | 5 ++
tools/perf/util/libunwind/x86_32.c | 6 ++
tools/perf/util/llvm-utils.c | 1 +
tools/perf/util/machine.c | 6 +-
tools/perf/util/parse-events.c | 4 +-
tools/perf/util/probe-event.c | 12 ++-
tools/perf/util/probe-file.c | 8 +-
tools/perf/util/python.c | 2 +-
tools/perf/util/rb_resort.h | 4 +-
tools/perf/util/record.c | 8 +-
tools/perf/util/session.c | 12 +--
tools/perf/util/sort.c | 14 ++--
tools/perf/util/stat.c | 6 +-
tools/perf/util/strlist.h | 4 +-
tools/perf/util/symbol.c | 2 +-
tools/perf/util/thread-stack.c | 7 ++
tools/perf/util/thread-stack.h | 1 +
tools/perf/util/thread_map.c | 4 +-
tools/perf/util/unwind-libunwind-local.c | 6 +-
tools/perf/util/unwind.h | 9 +++
tools/perf/util/vdso.c | 40 +++++++++-
77 files changed, 606 insertions(+), 358 deletions(-)
create mode 100644 tools/perf/ui/browsers/hists.h