Problem with perf report --gtk

Guilherme Amadio
2025-09-09T10:33:17Z

Hi Arnaldo, Namhyung,

Since sometime we have a bug in Gentoo's bugzilla about perf report --gtk not
working¹: https://bugs.gentoo.org/937869

I know this feature is not used very much, but I thought I'd report in
any case. The problem is easily reproducible as shown below:

$ perf record -a -g -- sleep 1
[ perf record: Woken up 1 times to write data ]
[ perf record: Captured and wrote 1.818 MB perf.data (6648 samples) ]
$ LD_DEBUG=symbols perf report --gtk 2>&1 | grep '(fatal)'
288067: /usr/libexec/perf-core/libperf-gtk.so: error: symbol lookup error: undefined symbol: hashmap_find (fatal)
$ perf report --gtk
GTK browser requested but could not find libperf-gtk.so

I tried this with perf 6.16, but this bug seems to have been there since
at least 6.12.

Please let me know if it's better to file problems at https://bugzilla.kernel.org/.

Best regards,
-Guilherme