linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Issue] perf report gets stuck at addr2line
@ 2023-06-09  3:31 Changbin Du
  2023-06-09  5:13 ` Ian Rogers
  0 siblings, 1 reply; 12+ messages in thread
From: Changbin Du @ 2023-06-09  3:31 UTC (permalink / raw)
  To: linux-perf-users, Arnaldo Carvalho de Melo, Ian Rogers; +Cc: changbin.du

Hello,
I tried perf of mainline built on Ubuntu 20.04 and it gets stuck when reporting.

$ sudo lsb_release -d
Description:    Ubuntu 20.04.6 LTS
$ sudo perf record -g ls
$ perf report --stdio
[stuck]

It seems this addr2line binary was't working as perf expected. I found below
error:
addr2line: addr2line configuration failed

Then I ran addr2line manually:

$ addr2line -v
GNU addr2line (GNU Binutils for Ubuntu) 2.34
Copyright (C) 2020 Free Software Foundation, Inc.
...
$ addr2line -e .debug/.build-id/5e/2fa721660d663f38b6e1aa98d6fa3776974b54/elf -i -f
,
__per_cpu_start
??:?

The addr2line_configure() expects a '?' but we got '_'.

I am not sure whether this is related to Ian's change but it works on v6.3.

-- 
Cheers,
Changbin Du

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2023-06-13  2:34 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-09  3:31 [Issue] perf report gets stuck at addr2line Changbin Du
2023-06-09  5:13 ` Ian Rogers
2023-06-09 23:58   ` Ian Rogers
2023-06-12  2:14     ` Changbin Du
2023-06-12  4:05       ` Ian Rogers
2023-06-12 13:10         ` Changbin Du
2023-06-12 13:17           ` Changbin Du
2023-06-12 15:55             ` Ian Rogers
2023-06-13  2:20               ` Changbin Du
2023-06-13  2:25                 ` Ian Rogers
2023-06-13  2:31                   ` Changbin Du
2023-06-13  2:33                     ` Ian Rogers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).