[libvirt] Hidden symbols

Daniel P. Berrange berrange at redhat.com
Thu Jan 19 17:25:44 UTC 2012


On Thu, Jan 19, 2012 at 05:16:48PM +0000, Shradha Shah wrote:
> Hello All,
> 
> When using a systemtap to get a call chain of functions that are executed during the migration of a vm from one host to another I realised that many of the symbols in libvirt are hidden and not visible to systemtap.
> 
> Is there a way I can make all the symbols visible just for debugging purposes?

You shouldn't need todo anything special. If you're building from GIT
then your build should already have '-g' flag set, which is sufficient
for systemtap to get any symbols. If you're using a RPM build, then
just install the libvirt-debuginfo RPM to get the symbols

Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvir-list mailing list