On 05.06.2012 15:59, David Ahern wrote:

> You need to install the plugins for trace-cmd:
> make install_plugins
> 
> you could also try setting:
> export TRACE_CMD_PLUGIN_DIR=/path/to/plugins

Aha, with that I get more messages:

trace-cmd: No such file or directory
  cound not load plugin '/home/joe/qEmu/trace/trace-cmd/plugin_kvm.so'
/home/joe/qemu/trace/trace-cmd/plugin_kvm.so: undefined symbol:
ud_translate_att

However, during the build process, udis86 is linked in like it should be:

[...]
gcc -g -Wall  -I.  '-DPLUGIN_DIR="/usr/local/share/trace-cmd/plugins"'
-DHAVE_UDIS86 -ludis86  -DHAVE_BLK_TC_FLUSH  -shared -nostartfiles -o
plugin_blk.so plugin_blk.o

But when looking, I just noticed that it does not appear in the imports

$ ldd plugin_kvm.so
        linux-vdso.so.1 =>  (0x00007fff3cfff000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f6429e1c000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f642a3e4000)

Nor do I actually *have* the .so of udis86 in my /usr/lib directory.
Gentoo by default just built the static library. Weird! I'll recompile
myself and then it'll work for sure.

Best regards,
Joe
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to