Re: [PROBLEM] perf report --gtk doesn't work

From: Namhyung Kim
Date: Sun Apr 27 2014 - 21:17:06 EST


Hi Pekka,

On Fri, 25 Apr 2014 14:09:45 +0300, Pekka Enberg wrote:
> Hello,
>
> I'm seeing the following with v3.15-rc2:
>
> $ ~/bin/perf report --gtk
> GTK browser requested but could not find libperf-gtk.so
>
> The library file is in $HOME/lib64 and perf attempts to look it up.
> However, printing out dlerror() output shows the following:
>
> [penberg@localhost hornet]$ ~/bin/perf report --gtk
> /home/penberg/lib64/libperf-gtk.so: undefined symbol: sort_sym
> GTK browser requested but could not find libperf-gtk.so

Hmm.. strange. On my system, it works perfectly..

>
> I'm not sure how this is supposed to work. sort_sym() is defined in
> the 'perf' executable so how is libperf-gtk.so going to see it?

I'm also not sure.. maybe linker finds the symbol in the executable in
case of dlopen()?

Thanks,
Namhyung
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/