All of lore.kernel.org
 help / color / mirror / Atom feed
* [PROBLEM] perf report --gtk doesn't work
@ 2014-04-25 11:09 Pekka Enberg
  2014-04-28  1:16 ` Namhyung Kim
  0 siblings, 1 reply; 2+ messages in thread
From: Pekka Enberg @ 2014-04-25 11:09 UTC (permalink / raw)
  To: Ingo Molnar, Namhyung Kim; +Cc: LKML, Arnaldo Carvalho de Melo

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

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?

- Pekka

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PROBLEM] perf report --gtk doesn't work
  2014-04-25 11:09 [PROBLEM] perf report --gtk doesn't work Pekka Enberg
@ 2014-04-28  1:16 ` Namhyung Kim
  0 siblings, 0 replies; 2+ messages in thread
From: Namhyung Kim @ 2014-04-28  1:16 UTC (permalink / raw)
  To: Pekka Enberg; +Cc: Ingo Molnar, LKML, Arnaldo Carvalho de Melo

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-04-28  1:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-25 11:09 [PROBLEM] perf report --gtk doesn't work Pekka Enberg
2014-04-28  1:16 ` Namhyung Kim

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.