On Tue, Mar 3, 2015 at 11:23 AM, Arnaldo Carvalho de Melo
<[email protected]> wrote:
> Em Tue, Mar 03, 2015 at 11:07:18AM -0500, Yuanfang Chen escreveu:
>> I'm using perf 3.19.0 on Archlinux
>>
>> [arch@t440s-arch ~/Trash]$ uname -a
>> Linux t440s-arch 3.18.6-1-ARCH #1 SMP PREEMPT Sat Feb 7 08:44:05 CET
>> 2015 x86_64 GNU/Linux
>>
>> Recently after updating perf package, I found the 'ip' in 'perf
>> script' like below is shorter than before. Also feeding that address
>> (like 57e below) to addr2line does not output filename:lineno
>> information anymore.  How do I fix this issue? Is this a bug?
>
> Yeah, I tried using it with addr2line and it didn't work :-\ So what
> you're saying is that in the past it worked like that?
>
> If so, could you please 'git bisect' it to find out when it got broken?

Yeah, it worked in the past.
commit 5550171b2a9f8df26ff483051d060db06376b26d  change ip into
relative address ( not sure relative to which address), which makes
addr2line unable to parse.

> I would argue that it would be even better if it resolved to file:lineno
> by default...

Totally agree.

> - Arnaldo
>
>> a.out 26620 [000] 314643.350007:    6825289 cycles:
>>                      57e main (/home/arch/Trash/a.out)
>>                    20800 __libc_start_main (/usr/lib/libc-2.21.so)
>>         13d6258d4c544155 [unknown] ([unknown])
>>
>> thank you,
>> Yuanfang
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-perf-users" 
>> in
>> the body of a message to [email protected]
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-perf-users" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to