Messages in this thread | | | Date | Thu, 1 Oct 2015 13:13:40 -0300 | From | Arnaldo Carvalho de Melo <> | Subject | Re: [PATCH v7 0/4] perf: add support for profiling jitted code |
| |
Em Thu, Oct 01, 2015 at 11:39:14AM +0200, Ingo Molnar escreveu: > * Peter Zijlstra <peterz@infradead.org> 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
| |