Messages in this thread | | | From | Andi Kleen <> | Subject | Re: [PATCH V6 0/8] perf tools: kcore improvements | Date | Wed, 09 Oct 2013 15:30:56 -0700 |
| |
Peter Zijlstra <peterz@infradead.org> 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@linux.intel.com -- Speaking for myself only
| |