[PATCH 0/9] perf/jit: various improvements

From: Stephane Eranian
Date: Thu Oct 13 2016 - 07:01:40 EST


From: Stephane Eranian <eranian@xxxxxxxxx>

This patch series provides several important enhancements to the perf jit code
profiling support. The following is changed:
- enable building pref jitdump support without DWARF (Maciej)
- Add Exception Handling (EH) Frame record type to support unwinding
- remove useless padding of data in jitdump file
- provide a specification document for the jitdump format to help jit runtime developers add support

Note that the runtime needs to emit the unwind information. This is not supported for openJDK via JVMTI.

Thanks to Maciej, Stefano, and Ross for their contributions.

Maciej Debski (1):
perf/jit: enable jitdump support without dwarf

Stefano Sanfilippo (5):
perf/jit: make perf skip unknown records
perf/jit: do not assume pgoff is zero
perf/jit: add unwinding support
perf/jit: generate .eh_frame/.eh_frame_hdr in DSO
perf/jit: Check JITHEADER_VERSION

Stephane Eranian (3):
perf/jit: improve error messages from JVMTI
perf/jit: remove unecessary padding in jitdump file
perf/jit: add jitdump format specification document

tools/perf/Documentation/jitdump-specification.txt | 170 +++++++++++++++++++++
tools/perf/Makefile.config | 2 -
tools/perf/jvmti/jvmti_agent.c | 38 +----
tools/perf/jvmti/libjvmti.c | 37 +++--
tools/perf/util/Build | 2 +-
tools/perf/util/genelf.c | 109 ++++++++++++-
tools/perf/util/genelf.h | 5 +-
tools/perf/util/jitdump.c | 80 ++++++++--
tools/perf/util/jitdump.h | 12 ++
tools/perf/util/unwind-libunwind-local.c | 4 +-
10 files changed, 393 insertions(+), 66 deletions(-)
create mode 100644 tools/perf/Documentation/jitdump-specification.txt

--
1.9.1