Re: [PATCH v6 3/4] perf inject: add jitdump mmap injection support

2015-04-13 Thread Adrian Hunter
On 13/04/15 03:37, Stephane Eranian wrote: > On Fri, Apr 10, 2015 at 5:51 AM, Adrian Hunter > wrote: >> On 08/04/15 17:12, Stephane Eranian wrote: >>> On Wed, Apr 8, 2015 at 5:15 AM, Adrian Hunter >>> wrote: On 06/04/15 22:41, Stephane Eranian wrote: > > + if

Re: [PATCH v6 3/4] perf inject: add jitdump mmap injection support

2015-04-13 Thread Adrian Hunter
On 13/04/15 03:37, Stephane Eranian wrote: On Fri, Apr 10, 2015 at 5:51 AM, Adrian Hunter adrian.hun...@intel.com wrote: On 08/04/15 17:12, Stephane Eranian wrote: On Wed, Apr 8, 2015 at 5:15 AM, Adrian Hunter adrian.hun...@intel.com wrote: On 06/04/15 22:41, Stephane Eranian wrote:

Re: [PATCH v6 3/4] perf inject: add jitdump mmap injection support

2015-04-12 Thread Stephane Eranian
On Fri, Apr 10, 2015 at 5:51 AM, Adrian Hunter wrote: > On 08/04/15 17:12, Stephane Eranian wrote: >> On Wed, Apr 8, 2015 at 5:15 AM, Adrian Hunter >> wrote: >>> On 06/04/15 22:41, Stephane Eranian wrote: > + if (inject.build_ids) { > + /* > +

Re: [PATCH v6 3/4] perf inject: add jitdump mmap injection support

2015-04-12 Thread Stephane Eranian
On Fri, Apr 10, 2015 at 5:51 AM, Adrian Hunter adrian.hun...@intel.com wrote: On 08/04/15 17:12, Stephane Eranian wrote: On Wed, Apr 8, 2015 at 5:15 AM, Adrian Hunter adrian.hun...@intel.com wrote: On 06/04/15 22:41, Stephane Eranian wrote: + if (inject.build_ids) { +

Re: [PATCH v6 3/4] perf inject: add jitdump mmap injection support

2015-04-08 Thread Stephane Eranian
On Wed, Apr 8, 2015 at 5:15 AM, Adrian Hunter wrote: > On 06/04/15 22:41, Stephane Eranian wrote: >> > + if (inject.build_ids) { >> > + /* >> > + * to make sure the mmap records are ordered correctly >> > + * and so that the correct

Re: [PATCH v6 3/4] perf inject: add jitdump mmap injection support

2015-04-08 Thread Adrian Hunter
On 06/04/15 22:41, Stephane Eranian wrote: > > + if (inject.build_ids) { > > + /* > > + * to make sure the mmap records are ordered correctly > > + * and so that the correct especially due to jitted code > > + * mmaps. We

Re: [PATCH v6 3/4] perf inject: add jitdump mmap injection support

2015-04-08 Thread Adrian Hunter
On 06/04/15 22:41, Stephane Eranian wrote: + if (inject.build_ids) { + /* + * to make sure the mmap records are ordered correctly + * and so that the correct especially due to jitted code + * mmaps. We cannot

Re: [PATCH v6 3/4] perf inject: add jitdump mmap injection support

2015-04-08 Thread Stephane Eranian
On Wed, Apr 8, 2015 at 5:15 AM, Adrian Hunter adrian.hun...@intel.com wrote: On 06/04/15 22:41, Stephane Eranian wrote: + if (inject.build_ids) { + /* + * to make sure the mmap records are ordered correctly + * and so that the

Re: [PATCH v6 3/4] perf inject: add jitdump mmap injection support

2015-04-01 Thread Adrian Hunter
On 31/03/15 01:19, Stephane Eranian wrote: > This patch adds a --jit option to perf inject. > > This options injects MMAP records into the perf.data > file to cover the jitted code mmaps. It also emits > ELF images for each function in the jidump file. > Those images are created where the jitdump

Re: [PATCH v6 3/4] perf inject: add jitdump mmap injection support

2015-04-01 Thread Adrian Hunter
On 31/03/15 01:19, Stephane Eranian wrote: This patch adds a --jit option to perf inject. This options injects MMAP records into the perf.data file to cover the jitted code mmaps. It also emits ELF images for each function in the jidump file. Those images are created where the jitdump file

[PATCH v6 3/4] perf inject: add jitdump mmap injection support

2015-03-30 Thread Stephane Eranian
This patch adds a --jit option to perf inject. This options injects MMAP records into the perf.data file to cover the jitted code mmaps. It also emits ELF images for each function in the jidump file. Those images are created where the jitdump file is. The MMAP records point to that location as

[PATCH v6 3/4] perf inject: add jitdump mmap injection support

2015-03-30 Thread Stephane Eranian
This patch adds a --jit option to perf inject. This options injects MMAP records into the perf.data file to cover the jitted code mmaps. It also emits ELF images for each function in the jidump file. Those images are created where the jitdump file is. The MMAP records point to that location as