[lttng-dev] [Qemu-devel] [PATCH 0/6] hypertrace: Lightweight guest-to-QEMU trace channel
Stefan Hajnoczi
stefanha at redhat.com
Tue Sep 13 13:52:50 UTC 2016
On Mon, Sep 05, 2016 at 04:37:01PM +0200, LluĂs Vilanova wrote:
> I suppose that if you execute the stap script I pasted it will show the proper
> values. Then it's definitely a problem with Debian's userspace probes.
Sorry for the delay. SystemTap static probes appear to work correctly on
Fedora 24.
I built qemu.git/master from source with "--enable-trace-backends=dtrace" and
tried the following:
$ rpm -qi systemtap kernel-devel | grep Source
Source RPM : systemtap-3.0-3.fc24.src.rpm
Source RPM : kernel-4.7.2-201.fc24.src.rpm
(By the way, I hit the same mutex_lock() vs inode_lock() issue in systemtap as you.)
$ cat test.stp
probe begin {
printf("hello\n");
}
probe process("path/to/qemu-system-x86_64").mark("kvm_ioctl")
{
printf("%x %p\n", $arg1, $arg2)
}
$ sudo stap test.stp -c 'path/to/qemu-system-x86_64 -enable-kvm -m 1024'
hello
ae00 0x0
ae03 0xa
ae03 0x9
ae03 0x42
ae01 0x0
These are valid argument values. What happens on your Debian box?
Stefan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: not available
URL: <https://lists.lttng.org/pipermail/lttng-dev/attachments/20160913/15bb0621/attachment.sig>
More information about the lttng-dev
mailing list