Re: [GIT PULL 00/19] perf/core improvements and fixes

From: Ingo Molnar
Date: Tue Feb 09 2016 - 04:40:17 EST



* Arnaldo Carvalho de Melo <acme@xxxxxxxxxx> wrote:

> Hi Ingo,
>
> Please consider pulling,
>
> - Arnaldo
>
> The following changes since commit d3aaf09f889b31f3b424bf9603b163ec1204c361:
>
> Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core (2016-02-04 08:58:01 +0100)
>
> are available in the git repository at:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-core-for-mingo
>
> for you to fetch changes up to 598b7c6919c7bbcc1243009721a01bc12275ff3e:
>
> perf jit: add source line info support (2016-02-05 12:33:09 -0300)
>
> ----------------------------------------------------------------
> perf/core improvements and fixes:
>
> User visible fixes:
>
> - Handle spaces in file names obtained from /proc/pid/maps (Marcin Ålusarz)
>
> New features:
>
> - Improved support for java, using the JVMTI agent library to do jitdumps
> that then will be inserted in synthesized PERF_RECORD_MMAP2 events via
> 'perf inject' pointed to synthesized ELF files stored in ~/.debug and
> keyed with build-ids, to allow symbol resolution and even annotation with
> source line info, see the changeset comments to see how to use it (Stephane Eranian)
>
> Documentation:
>
> - Document mmore variables in the 'perf config' man page (Taeung Song)
>
> Infrastructure:
>
> - Improve a bit the 'make -C tools/perf build-test' output (Arnaldo Carvalho de Melo)
>
> - Do 'build-test' in parallell, using 'make -j' (Arnaldo Carvalho de Melo)
>
> - Fix handling of 'clean' in multi-target make invokations for parallell builds (Jiri Olsa)
>
> Signed-off-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
>
> ----------------------------------------------------------------
> Arnaldo Carvalho de Melo (4):
> perf build tests: Elide "-f Makefile" from make invokation
> perf build tests: Move the feature related vars to the front of the make cmdline
> perf build tests: Do parallell builds with 'build-test'
> perf inject: Make sure mmap records are ordered when injecting build_ids
>
> Jiri Olsa (1):
> perf tools: Fix parallel build including 'clean' target
>
> Marcin Ålusarz (1):
> perf tools: handle spaces in file names obtained from /proc/pid/maps
>
> Stephane Eranian (5):
> perf symbols: add Java demangling support
> perf build: Add libcrypto feature detection
> perf inject: Add jitdump mmap injection support
> perf tools: add JVMTI agent library
> perf jit: add source line info support
>
> Taeung Song (8):
> perf config: Document 'ui.show-headers' variable in man page
> perf config: Document variables for 'call-graph' section in man page
> perf config: Document variables for 'report' section in man page
> perf config: Document 'top.children' variable in man page
> perf config: Document 'man.viewer' variable in man page
> perf config: Document 'pager.<subcommand>' variables in man page
> perf config: Document 'kmem.default' variable in man page
> perf config: Document 'record.build-id' variable in man page
>
> tools/build/Makefile.feature | 2 +
> tools/build/feature/Makefile | 4 +
> tools/build/feature/test-all.c | 5 +
> tools/build/feature/test-libcrypto.c | 17 +
> tools/perf/Documentation/perf-config.txt | 143 +++++++
> tools/perf/Documentation/perf-inject.txt | 7 +
> tools/perf/Makefile | 16 +-
> tools/perf/Makefile.perf | 3 +
> tools/perf/builtin-inject.c | 107 ++++-
> tools/perf/config/Makefile | 11 +
> tools/perf/jvmti/Makefile | 76 ++++
> tools/perf/jvmti/jvmti_agent.c | 465 +++++++++++++++++++++
> tools/perf/jvmti/jvmti_agent.h | 36 ++
> tools/perf/jvmti/libjvmti.c | 304 ++++++++++++++
> tools/perf/tests/make | 11 +-
> tools/perf/util/Build | 6 +
> tools/perf/util/demangle-java.c | 199 +++++++++
> tools/perf/util/demangle-java.h | 10 +
> tools/perf/util/event.c | 2 +-
> tools/perf/util/genelf.c | 449 +++++++++++++++++++++
> tools/perf/util/genelf.h | 67 +++
> tools/perf/util/genelf_debug.c | 610 ++++++++++++++++++++++++++++
> tools/perf/util/jit.h | 15 +
> tools/perf/util/jitdump.c | 672 +++++++++++++++++++++++++++++++
> tools/perf/util/jitdump.h | 124 ++++++
> tools/perf/util/symbol-elf.c | 3 +
> 26 files changed, 3357 insertions(+), 7 deletions(-)
> create mode 100644 tools/build/feature/test-libcrypto.c
> create mode 100644 tools/perf/jvmti/Makefile
> create mode 100644 tools/perf/jvmti/jvmti_agent.c
> create mode 100644 tools/perf/jvmti/jvmti_agent.h
> create mode 100644 tools/perf/jvmti/libjvmti.c
> create mode 100644 tools/perf/util/demangle-java.c
> create mode 100644 tools/perf/util/demangle-java.h
> create mode 100644 tools/perf/util/genelf.c
> create mode 100644 tools/perf/util/genelf.h
> create mode 100644 tools/perf/util/genelf_debug.c
> create mode 100644 tools/perf/util/jit.h
> create mode 100644 tools/perf/util/jitdump.c
> create mode 100644 tools/perf/util/jitdump.h

Pulled, thanks a lot Arnaldo!

Ingo