lkml.org 
[lkml]   [2016]   [Apr]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 2/2] perf report: Add gcc option '-rdynamic' to define symbol callchain_param
From
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@redhat.com>:
> 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 "

\
 
 \ /
  Last update: 2016-04-28 17:01    [W:1.144 / U:0.656 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site