Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1273435

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

From Peter Zijlstra <peterz@infradead.org>
Newsgroups linux.kernel
Subject Re: [PATCH] perf: Fallback to JIT support for mmap'd non-ELF binaries.
Date 2015-11-19 20:40 +0100
Message-ID <qwDdL-5dZ-3@gated-at.bofh.it> (permalink)
References <qwCKJ-549-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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 symbolic names, as the format of
> the mmap'd file is unknown to perf.

I'm assuming you're using PECOFF? Why not teach perf to read those?

Surely there's a library that can parse that stuff, it seems to me Wine
for one needs fairly decent support for this, also GDB (and other
toolchain bits) on Windows targets.

Its just that I was hoping we could move towards getting rid of those
/tmp files now that we have much better JIT support.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] perf: Fallback to JIT support for mmap'd non-ELF binaries. Brian Robbins <brianrob@microsoft.com> - 2015-11-19 20:10 +0100
  Re: [PATCH] perf: Fallback to JIT support for mmap'd non-ELF  binaries. Peter Zijlstra <peterz@infradead.org> - 2015-11-19 20:40 +0100
    Re: [PATCH] perf: Fallback to JIT support for mmap'd non-ELF  binaries. Brian Robbins <brianrob@microsoft.com> - 2015-11-20 00:50 +0100
      Re: [PATCH] perf: Fallback to JIT support for mmap'd non-ELF binaries. Stephane Eranian <eranian@google.com> - 2015-11-20 01:20 +0100
        Re: [PATCH] perf: Fallback to JIT support for mmap'd non-ELF  binaries. Brian Robbins <brianrob@microsoft.com> - 2015-11-20 19:40 +0100
      Re: [PATCH] perf: Fallback to JIT support for mmap'd non-ELF  binaries. Peter Zijlstra <peterz@infradead.org> - 2015-11-20 20:40 +0100
        Re: [PATCH] perf: Fallback to JIT support for mmap'd non-ELF  binaries. Brian Robbins <brianrob@microsoft.com> - 2015-11-20 22:40 +0100
          Re: [PATCH] perf: Fallback to JIT support for mmap'd non-ELF  binaries. Arnaldo Carvalho de Melo <acme@kernel.org> - 2015-11-21 22:50 +0100
          Re: [PATCH] perf: Fallback to JIT support for mmap'd non-ELF binaries. Stephane Eranian <eranian@google.com> - 2015-11-23 18:40 +0100

csiph-web