Re: [PATCH v3 00/10] x86: ORC unwinder (previously undwarf)

From: Josh Poimboeuf
Date: Wed Jul 12 2017 - 18:41:06 EST


On Wed, Jul 12, 2017 at 03:36:05PM -0700, Andres Freund wrote:
> Hi,
>
> On 2017-07-12 17:32:25 -0500, Josh Poimboeuf wrote:
> > If you want perf to be able to use ORC instead of DWARF for user space
> > binaries, that's not currently possible, though I don't see any
> > technical blockers for doing so. Perf would need to be taught to read
> > ORC data.
>
> Right, that's what I was hoping for.
>
>
> > And I think it should be possible to convert DWARF to ORC, assuming the
> > DWARF data is trusted. We could probably add an objtool subcommand for
> > that.
>
> That'd be pretty helpful.

Can I ask why? Is DWARF too slow, or is it something else?

--
Josh