Re: [PATCH] perf: Fallback to JIT support for mmap'd non-ELF binaries.

2015-11-23 Thread Stephane Eranian
On Fri, Nov 20, 2015 at 1:18 PM, Brian Robbins wrote: > > > On Fri, 20 Nov 2015, Peter Zijlstra wrote: > >> On Thu, Nov 19, 2015 at 11:45:45PM +, Brian Robbins wrote: >> >> > Thank you for the feedback. The file format is similar to PE, but is >> > not identical. So, we would be implementing

Re: [PATCH] perf: Fallback to JIT support for mmap'd non-ELF binaries.

2015-11-21 Thread Arnaldo Carvalho de Melo
Em Fri, Nov 20, 2015 at 01:18:55PM -0800, Brian Robbins escreveu: > > > On Fri, 20 Nov 2015, Peter Zijlstra wrote: > > > On Thu, Nov 19, 2015 at 11:45:45PM +, Brian Robbins wrote: > > > > > Thank you for the feedback. The file format is similar to PE, but is > > > not identical. So, we wo

Re: [PATCH] perf: Fallback to JIT support for mmap'd non-ELF binaries.

2015-11-20 Thread Brian Robbins
On Fri, 20 Nov 2015, Peter Zijlstra wrote: > On Thu, Nov 19, 2015 at 11:45:45PM +, Brian Robbins wrote: > > > Thank you for the feedback. The file format is similar to PE, but is > > not identical. So, we would be implementing something very scoped, > > which doesn't feel right to me. >

Re: [PATCH] perf: Fallback to JIT support for mmap'd non-ELF binaries.

2015-11-20 Thread Peter Zijlstra
On Thu, Nov 19, 2015 at 11:45:45PM +, Brian Robbins wrote: > Thank you for the feedback. The file format is similar to PE, but is > not identical. So, we would be implementing something very scoped, > which doesn't feel right to me. *groan* you just had to go and invent yet another executab

Re: [PATCH] perf: Fallback to JIT support for mmap'd non-ELF binaries.

2015-11-20 Thread Brian Robbins
el@vger.kernel.org; > > Stephane Eranian > > Subject: Re: [PATCH] perf: Fallback to JIT support for mmap'd non-ELF > > binaries. > > > > > On Thu, Nov 19, 2015 at 11:09:07AM -0800, Brian Robbins wrote: > > > > Programs can execute code contained

Re: [PATCH] perf: Fallback to JIT support for mmap'd non-ELF binaries.

2015-11-19 Thread Stephane Eranian
On Thu, Nov 19, 2015 at 3:45 PM, Brian Robbins wrote: > > From: Peter Zijlstra > Sent: Thursday, November 19, 2015 11:31 AM > To: Brian Robbins > Cc: Ingo Molnar; Arnaldo Carvalho de Melo; linux-kernel@vger.kernel.org; > Stephane Eranian > Subject: Re: [PATCH] perf: Fallba

Re: [PATCH] perf: Fallback to JIT support for mmap'd non-ELF binaries.

2015-11-19 Thread Brian Robbins
From: Peter Zijlstra Sent: Thursday, November 19, 2015 11:31 AM To: Brian Robbins Cc: Ingo Molnar; Arnaldo Carvalho de Melo; linux-kernel@vger.kernel.org; Stephane Eranian Subject: Re: [PATCH] perf: Fallback to JIT support for mmap'd non-ELF binaries. > On Thu, Nov 19, 2015 at 11:09:07

Re: [PATCH] perf: Fallback to JIT support for mmap'd non-ELF binaries.

2015-11-19 Thread Peter Zijlstra
On Thu, Nov 19, 2015 at 11:09:07AM -0800, Brian Robbins wrote: > Programs can execute code contained in files that don't conform > to the ELF standard. This is common for cross-platform runtimes > that support ahead-of-time compilation. In this case, perf is > unable to resolve addresses to symbo

[PATCH] perf: Fallback to JIT support for mmap'd non-ELF binaries.

2015-11-19 Thread Brian Robbins
Programs can execute code contained in files that don't conform to the ELF standard. This is common for cross-platform runtimes that support ahead-of-time compilation. In this case, perf is unable to resolve addresses to symbolic names, as the format of the mmap'd file is unknown to perf. Make p