Re: [PATCH 8/8] tools, perf: Make get_srcline fall back to sym+offset

2014-03-07 Thread Jiri Olsa
On Thu, Feb 27, 2014 at 08:22:32PM -0800, Andi Kleen wrote: > From: Andi Kleen > > When the source line is not found fall back to sym + offset. > This is generally much more useful than a raw address. > For this we need to pass in the symbol from the caller. > For some callers it's awkward to com

[PATCH 8/8] tools, perf: Make get_srcline fall back to sym+offset

2014-02-27 Thread Andi Kleen
From: Andi Kleen When the source line is not found fall back to sym + offset. This is generally much more useful than a raw address. For this we need to pass in the symbol from the caller. For some callers it's awkward to compute, so we stay at the old behaviour. Signed-off-by: Andi Kleen ---