Re: [PATCH V6 0/8] perf tools: kcore improvements

From: Andi Kleen
Date: Wed Oct 09 2013 - 18:31:20 EST


Peter Zijlstra <peterz@xxxxxxxxxxxxx> writes:

> On Wed, Oct 09, 2013 at 03:01:10PM +0300, Adrian Hunter wrote:
>> - workaround objdump difficulties with kcore
>
> I've no idea, but given that've 'inlined' addr2line, should we also
> consider polling in objdump -- or at least that subset of functionality
> that we actually use?

FWIW addr2line is just a straight forward BFD call.

objdump is significantly more complex, a lot of it is outside BFD
(including the full disassembler and all the logic for syncing
the source files)

Another problem is that you would need to sync regularly to keep
up with new instructions.

-Andi


--
ak@xxxxxxxxxxxxxxx -- Speaking for myself only
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/