05 Feb, 2016
1 commit
-
This patch adds source line information support to perf for jitted code.
The source line info must be emitted by the runtime, such as JVMTI.
Perf injects extract the source line info from the jitdump file and adds
the corresponding .debug_lines section in the ELF image generated for
each jitted function.The source line enables matching any address in the profile with a
source file and line number.The improvement is visible in perf annotate with the source code
displayed alongside the assembly code.The dwarf code leverages the support from OProfile which is also
released under GPLv2. Copyright 2007 OProfile authors.Signed-off-by: Stephane Eranian
Cc: Adrian Hunter
Cc: Andi Kleen
Cc: Carl Love
Cc: David Ahern
Cc: Jiri Olsa
Cc: John McCutchan
Cc: Namhyung Kim
Cc: Pawel Moll
Cc: Peter Zijlstra
Cc: Sonny Rao
Cc: Sukadev Bhattiprolu
Link: http://lkml.kernel.org/r/1448874143-7269-5-git-send-email-eranian@google.com
Signed-off-by: Arnaldo Carvalho de Melo