linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Christophe Leroy <christophe.leroy@csgroup.eu>
To: "linux-perf-users@vger.kernel.org"
	<linux-perf-users@vger.kernel.org>,
	Peter Zijlstra <peterz@infradead.org>,
	Ingo Molnar <mingo@redhat.com>,
	Arnaldo Carvalho de Melo <acme@kernel.org>,
	Namhyung Kim <namhyung@kernel.org>
Subject: Perf doesn't display kernel symbols anymore (bisected commit 659ad3492b91 ("perf maps: Switch from rbtree to lazily sorted array for addresses"))
Date: Mon, 16 Dec 2024 08:01:09 +0100	[thread overview]
Message-ID: <719a89a5-8dff-48a0-ba8f-802c740a00a6@csgroup.eu> (raw)

Hi,

I noticed with 6.12 LTS Kernel that perf top and perf record/report 
don't display kernel symbols anymore, instead it displays the raw 
address with [unknown] as object.

After bisect I see that the problem appears with commit 659ad3492b91 
("perf maps: Switch from rbtree to lazily sorted array for addresses"). 
Previous commit 39d14c0dd650 ("Merge branch 'perf-tools' into 
perf-tools-next") doesn't exbibit the problem.

Now:

# Overhead  Command     Shared Object  Symbol 

# ........  ..........  ............. 
......................................
#
     80.49%  Coeur main  [unknown]      [k] 0xc005f0f8
      3.91%  Coeur main  gau            [.] engine_loop.constprop.0.isra.0
      1.72%  Coeur main  [unknown]      [k] 0xc005f11c
      1.09%  Coeur main  [unknown]      [k] 0xc01f82c8
      0.44%  Coeur main  libc.so.6      [.] epoll_wait
      0.38%  Coeur main  [unknown]      [k] 0xc0011718
      0.36%  Coeur main  [unknown]      [k] 0xc01f45c0
      0.22%  Coeur main  libc.so.6      [.] 
__GI___pthread_enable_asynccancel
      0.19%  Coeur main  libc.so.6      [.] 
__GI___pthread_disable_asynccancel
      0.19%  Coeur main  [unknown]      [k] 0xc0011170
      0.19%  Coeur main  [unknown]      [k] 0xc019ac64
      0.19%  Coeur main  [unknown]      [k] 0xc01f54bc
      0.16%  Coeur main  libc.so.6      [.] read

Before commit 659ad3492b91 ("perf maps: Switch from rbtree to lazily 
sorted array for addresses"):

# Overhead  Command     Shared Object      Symbol 

# ........  ..........  ................. 
......................................
#
     76.65%  Coeur main  [kernel.kallsyms]  [k] finish_task_switch.isra.0
      4.26%  Coeur main  gau                [.] 
engine_loop.constprop.0.isra.0
      3.69%  Coeur main  [kernel.kallsyms]  [k] do_epoll_wait
      2.00%  Coeur main  [kernel.kallsyms]  [k] timerfd_read_iter
      0.96%  Coeur main  [kernel.kallsyms]  [k] ep_start_scan
      0.87%  Coeur main  [kernel.kallsyms]  [k] __rseq_handle_notify_resume
      0.79%  Coeur main  [kernel.kallsyms]  [k] system_call_exception
      0.71%  Coeur main  [kernel.kallsyms]  [k] do_notify_resume
      0.66%  Coeur main  [kernel.kallsyms]  [k] timerfd_poll
      0.63%  Coeur main  [kernel.kallsyms]  [k] __copy_tofrom_user
      0.57%  Coeur main  libc.so.6          [.] read
      0.52%  Coeur main  [kernel.kallsyms]  [k] ep_item_poll.isra.0
      0.52%  Coeur main  [kernel.kallsyms]  [k] 
schedule_hrtimeout_range_clock
      0.49%  Coeur main  [kernel.kallsyms]  [k] ep_done_scan
      0.46%  Coeur main  [kernel.kallsyms]  [k] schedule
      0.46%  Coeur main  libc.so.6          [.] 
__GI___pthread_disable_asynccancel

Can you help fixing that ?

Christophe

             reply	other threads:[~2024-12-16  7:01 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-16  7:01 Christophe Leroy [this message]
2024-12-17 14:18 ` Perf doesn't display kernel symbols anymore (bisected commit 659ad3492b91 ("perf maps: Switch from rbtree to lazily sorted array for addresses")) James Clark
2024-12-17 14:50   ` Christophe Leroy
2024-12-26 15:51   ` Arnaldo Carvalho de Melo
2025-01-02 14:41     ` Christophe Leroy
2025-01-02 17:52       ` Christophe Leroy
2025-01-02 18:19       ` Arnaldo Carvalho de Melo
2025-01-02 19:42         ` Christophe Leroy
2025-01-03  1:08           ` Arnaldo Carvalho de Melo
2025-01-03  6:33             ` Christophe Leroy
2025-01-03 12:40             ` Christophe Leroy
2025-01-03 16:26               ` Arnaldo Carvalho de Melo
2025-01-06 12:38                 ` Christophe Leroy
2025-01-06 21:46                   ` Namhyung Kim
2025-01-08 17:55                     ` Christophe Leroy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=719a89a5-8dff-48a0-ba8f-802c740a00a6@csgroup.eu \
    --to=christophe.leroy@csgroup.eu \
    --cc=acme@kernel.org \
    --cc=linux-perf-users@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=namhyung@kernel.org \
    --cc=peterz@infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).