Skip to content

perf/jit: various improvements

Stephane Eranian lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9perf/jit: improve error messages from JVMTItools/perf/jvmti/libjvmti.c+27 -105 replies
2/9perf/jit: enable jitdump support without dwarftools/perf/Makefile.config tools/perf/util/Build tools/perf/util/genelf.c +1 more+10 -55 replies
3/9perf/jit: remove unecessary padding in jitdump filetools/perf/jvmti/jvmti_agent.c+1 -370 replies
4/9perf/jit: make perf skip unknown recordstools/perf/util/jitdump.c+3 -30 replies
5/9perf/jit: do not assume pgoff is zerotools/perf/util/unwind-libunwind-local.c+2 -20 replies
6/9perf/jit: add unwinding supporttools/perf/util/jitdump.c tools/perf/util/jitdump.h+66 -30 replies
7/9perf/jit: generate .eh_frame/.eh_frame_hdr in DSOtools/perf/util/genelf.c tools/perf/util/genelf.h tools/perf/util/jitdump.c+109 -70 replies
8/9perf/jit: Check JITHEADER_VERSIONtools/perf/util/jitdump.c+6 -00 replies
9/9perf/jit: add jitdump format specification documenttools/perf/Documentation/jitdump-specification.txt+170 -00 replies

Reviews trailers per patch

6 of 9 patches have a Reviewed-by or Acked-by.

PatchStephane Eranian
1/9
2/9R-b R-b
3/9
4/9R-b
5/9R-b
6/9R-b
7/9R-b
8/9R-b
9/9

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

From: Stephane Eranian <[email protected]>

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
Signature · 1 line
1.9.1