Re: [PATCH 4/4] perf tools: add JVMTI agent library
From: Stephane Eranian
Date: Thu Feb 12 2015 - 12:11:29 EST
On Thu, Feb 12, 2015 at 11:58 AM, Andi Kleen <ak@xxxxxxxxxxxxxxx> 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.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/