lkml.org 
[lkml]   [2015]   [Feb]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 4/4] perf tools: add JVMTI agent library
From
Andi,

On Thu, Feb 12, 2015 at 11:58 AM, Andi Kleen <ak@linux.intel.com> wrote:
>> This injects the MMAP records to cover the jitted code and also generates
>> one ELF image for each jitted function. The ELF images are created in the
>> same subdir as the jitdump file. The MMAP records point there too.
>
> How about line numbers? That would need a lot of code to generate dwarf, right?
>
The JVMTI agent does not generate the ELF files. It can extract line numbers
form the JVMTI interface and put them into the jitdump file.

Then that information would need to be encoded into dwarf in the ELF file.

I have not looked at how much is needed to do that.


\
 
 \ /
  Last update: 2015-02-12 18:21    [W:0.201 / U:0.412 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site