Re: [PATCH v7 0/4] perf: add support for profiling jitted code

From: Arnaldo Carvalho de Melo
Date: Thu Oct 01 2015 - 12:13:50 EST


Em Thu, Oct 01, 2015 at 11:39:14AM +0200, Ingo Molnar escreveu:
> * Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
> > > This will also generate an ELF image for each jitted function. The injected
> > > MMAP records will point to these ELF images. The reasoning behind using ELF
> > > images is that it makes processing for perf report and annotate automatic and
> > > transparent. It also makes it easier to package and analyze on a remote
> > > machine. Binutils tools can decode the ELF images easily.

> > The generation of ELF files is really nice!

> > All in all this looks really nice.

> > Thanks for doing this.

> Seconded, nice stuff!

Thirded! ;-)

Gave it a quick look, the ELF generation thing could later be librarized
somehow for other uses, the passing of perf_session for sample_type can
maybe use evsel->attr.sample_type instead, no?

Will try to try it after lunch :-)

- Arnaldo
--
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/