Re: [PATCH 2/2] perf report: Add gcc option '-rdynamic' to define symbol callchain_param
From: Kyeongmin Cho
Date: Thu Apr 28 2016 - 10:49:14 EST
Hi,
Althogh applying my previous patch, it still prints
$ ./perf report --gtk
GTK browser requested but could not find libperf-gtk.so
When printing dlerror() in setup_gtk_browser(),
$ ./perf report --gtk
/home/drzix/lib64/libperf-gtk.so: undefined symbol: callchain_param
GTK browser requested but could not find libperf-gtk.so
After applying this patch, compiling rdynamically to make
libperf-gtk.so find out the symbol, it works.
2016-04-28 23:12 GMT+09:00 Jiri Olsa <jolsa@xxxxxxxxxx>:
> On Thu, Apr 28, 2016 at 10:00:01PM +0900, Kyeongmin Cho wrote:
>> As libperf-gtk.so cannot find out undefined symbol 'callchain_param',
>> '-rdynamic' option is needed to add the symbol to the dynamic symbol
>> table.
>
> hi,
> following command seems to work for me:
> $ perf report --gtk
>
> could you please specify what's failing for you?
>
> thanks,
> jirka
--
Thanks,
Dr.Zix
" http://cin.fail "