perf jvmti: Remove redundant jitdump line table entries
authorNick Gasson <nick.gasson@arm.com>
Thu, 28 May 2020 05:40:49 +0000 (13:40 +0800)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 29 May 2020 19:51:38 +0000 (16:51 -0300)
commit7d7e503cac31541e52ee4adb0185391ef74e1636
tree9b84b6b0341c3ca79283421af4c10aa177317387
parent60da3a12c53ba60fc82b85cd4a7a5abc562cf936
perf jvmti: Remove redundant jitdump line table entries

For each PC/BCI pair in the JVMTI compiler inlining record table, the
jitdump plugin emits debug line table entries for every source line in
the method preceding that BCI. Instead only emit one source line per
PC/BCI pair. Reported by Ian Rogers. This reduces the .dump size for
SPECjbb from ~230MB to ~40MB.

Signed-off-by: Nick Gasson <nick.gasson@arm.com>
Acked-by: Ian Rogers <irogers@google.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lore.kernel.org/lkml/20200528054049.13662-1-nick.gasson@arm.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/jvmti/libjvmti.c