From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51942) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjquX-0002QF-1j for qemu-devel@nongnu.org; Tue, 13 Sep 2016 12:50:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bjquS-00020m-Sx for qemu-devel@nongnu.org; Tue, 13 Sep 2016 12:50:16 -0400 Received: from roura.ac.upc.edu ([147.83.33.10]:33747 helo=roura.ac.upc.es) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjquS-0001zO-Hv for qemu-devel@nongnu.org; Tue, 13 Sep 2016 12:50:12 -0400 From: =?utf-8?Q?Llu=C3=ADs_Vilanova?= References: <147041636348.2523.2954972609232949598.stgit@fimbulvetr.bsc.es> <20160818105424.GD4850@stefanha-x1.localdomain> <8737lypajh.fsf@fimbulvetr.bsc.es> <20160823155430.GB3948@stefanha-x1.localdomain> <87lgzm4g5p.fsf@fimbulvetr.bsc.es> <20160829134502.GA26282@stefanha-x1.localdomain> <87a8fvjtw5.fsf@fimbulvetr.bsc.es> <20160831163547.GD18281@stefanha-x1.localdomain> <87y436mn02.fsf@fimbulvetr.bsc.es> <20160913135250.GA4024@stefanha-x1.localdomain> Date: Tue, 13 Sep 2016 18:50:01 +0200 In-Reply-To: <20160913135250.GA4024@stefanha-x1.localdomain> (Stefan Hajnoczi's message of "Tue, 13 Sep 2016 14:52:50 +0100") Message-ID: <8737l3n3ra.fsf@fimbulvetr.bsc.es> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH 0/6] hypertrace: Lightweight guest-to-QEMU trace channel List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: Stefan Hajnoczi , qemu-devel@nongnu.org, Steven Rostedt , Luiz Capitulino , lttng-dev@lists.lttng.org, Masami Hiramatsu Stefan Hajnoczi writes: > On Mon, Sep 05, 2016 at 04:37:01PM +0200, Llu=C3=ADs 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=3Ddtrac= e" 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 systemt= ap 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? Like in my example, I get all zeroes. So I'll open a bug on debian and assu= me my example stap script shows the proper values. Thanks, Lluis