[GIT PULL 00/10] perf/core improvements and fixes

From: Arnaldo Carvalho de Melo
Date: Mon Jun 20 2016 - 18:27:08 EST


Hi Ingo,

Please consider pulling,

- Arnaldo

The following changes since commit 02469a95096a549508c5adf61d84a1d72851c85b:

Merge tag 'perf-core-for-mingo-20160615' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core (2016-06-16 10:27:35 +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-20160620

for you to fetch changes up to 2a0a7c72702bac1b87cd4d49196a334483386fab:

perf script: Add stackcollapse.py script (2016-06-20 17:50:39 -0300)

----------------------------------------------------------------
perf/core improvements and fixes:

New features:

. Add --dry-run option to 'perf record' to check if command line options can be
parsed, but not doing any recording (Wang Nan)

. Allow dumping the object files generated by llvm when processing eBPF
scriptlet events (Wang Nan)

- Add stackcollapse.py script to help generating flame graphs (Paolo Bonzini)

Documentation:

. Fix 'perf script' documentation of '-f' when it should be '-F' (Adrian Hunter)

Infrastructure:

- Fix write_backwards fallback when using a new tool on older kernels
without support for this feature (Arnaldo Carvalho de Melo)

- Find vdso file in cross-platform perf.data file processing scenarios (He Kuang)

- Remove some leftovers from the initial codebase copying from git
(Arnaldo Carvalho de Melo)

- List libelf-devel as an alternative, as this is how the libelf
development package is called on OpenSuSE (Jean Delvare)

- Rename __hists__add_entry to hists__add_entry (Jiri Olsa)

Signed-off-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>

----------------------------------------------------------------
Adrian Hunter (1):
perf script: Fix documentation of '-f' when it should be '-F'

Arnaldo Carvalho de Melo (3):
perf tools: Remove some unused functions
perf tools: Remove --perf-dir and --work-dir
perf evsel: Fix write_backwards fallback

He Kuang (1):
perf tools: Find vdso with the consider of cross-platform

Jean Delvare (1):
kbuild: List libelf-devel as an alternative

Jiri Olsa (1):
perf hists: Rename __hists__add_entry to hists__add_entry

Paolo Bonzini (1):
perf script: Add stackcollapse.py script

Wang Nan (2):
perf llvm: Allow dump llvm output object file using llvm.dump-obj
perf record: Add --dry-run option to check cmdline options

Makefile | 2 +-
tools/perf/Documentation/perf-record.txt | 7 ++
tools/perf/Documentation/perf-script.txt | 20 ++--
tools/perf/builtin-annotate.c | 2 +-
tools/perf/builtin-diff.c | 12 +-
tools/perf/builtin-record.c | 7 ++
tools/perf/config/Makefile | 2 +-
tools/perf/perf.c | 36 ------
tools/perf/scripts/python/bin/stackcollapse-record | 8 ++
tools/perf/scripts/python/bin/stackcollapse-report | 3 +
tools/perf/scripts/python/stackcollapse.py | 127 +++++++++++++++++++++
tools/perf/tests/hists_link.c | 4 +-
tools/perf/util/cache.h | 9 --
tools/perf/util/config.c | 2 +-
tools/perf/util/evsel.c | 23 ++--
tools/perf/util/hist.c | 34 +++---
tools/perf/util/hist.h | 14 +--
tools/perf/util/llvm-utils.c | 42 +++++++
tools/perf/util/llvm-utils.h | 5 +
tools/perf/util/path.c | 65 +----------
tools/perf/util/vdso.c | 40 ++++++-
21 files changed, 288 insertions(+), 176 deletions(-)
create mode 100755 tools/perf/scripts/python/bin/stackcollapse-record
create mode 100755 tools/perf/scripts/python/bin/stackcollapse-report
create mode 100755 tools/perf/scripts/python/stackcollapse.py