Received: from eggs.gnu.org ([208.118.235.92]:53423) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TGafx-0007Lu-Vv for qemu-devel@nongnu.org; Tue, 25 Sep 2012 15:20:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TGafw-0005Gi-Gl for qemu-devel@nongnu.org; Tue, 25 Sep 2012 15:20:09 -0400 Received: from roura.ac.upc.edu ([147.83.33.10]:40521 helo=roura.ac.upc.es) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TGafw-0005Br-5c for qemu-devel@nongnu.org; Tue, 25 Sep 2012 15:20:08 -0400 From: =?utf-8?Q?Llu=C3=ADs_Vilanova?= References: <87r4qhsg9i.fsf@fimbulvetr.bsc.es> <20120921064247.GB24129@cs.nctu.edu.tw> <87mx0ja417.fsf@fimbulvetr.bsc.es> <20120925164435.GA72354@cs.nctu.edu.tw> Date: Tue, 25 Sep 2012 21:19:47 +0200 In-Reply-To: <20120925164435.GA72354@cs.nctu.edu.tw> (=?utf-8?B?IumZsw==?= =?utf-8?B?6Z+L5Lu7?= (Wei-Ren Chen)"'s message of "Wed, 26 Sep 2012 00:44:36 +0800") Message-ID: <87mx0dnc4s.fsf@fimbulvetr.bsc.es> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] Dynamic Binary Instrumentation List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?utf-8?B?6Zmz6Z+L5Lu7IChXZWktUmVuIENoZW4p?= Cc: qemu-devel@nongnu.org =E9=99=B3=E9=9F=8B=E4=BB=BB (Wei-Ren Chen) writes: > On Fri, Sep 21, 2012 at 03:39:32PM +0200, Llu=C3=ADs Vilanova wrote: >> Sorry, it's up again. The server is low on RAM and Linux' OOM killer kic= ks in >> sometimes. > Thanks. I am playing around your qemu-dbi, and has error below. > $ make > LINK i386-softmmu/qemu-system-i386 > translate.o: In function `trace_tcg_instr__before': > /tmp/chenwj/qemu-dbi/trace/tcg-instr-internal.h:134: undefined reference = to `trace_tcg_vbbl_before' How did you configure it? After applying a small build patch, this works for me: cp ~/qemu-dbi/trace-events ~/ sed -i -e "s/disable tcg vmem(/instrument tcg vmem(/g" trace-events mkdir -p ~/qemu-dbi-build cd ~/qemu-dbi-build ~/qemu-src/configure --with-trace-events=3D../trace-events --with-trace-i= nstrument=3Ddynamic --prefix=3D/tmp/qemu-install --enable-trace-backend=3Ds= tderr --target-list=3D"i386-softmmu" make make install I've update the repo with the aforementioned patch. > Seems some files or functions are missing? Also, do you consider > move your repo to github or other more reliable server? I might do it in the future, but for now my todo is full enough with other tasks :) > P.S. Attach is a minor patch which fix a typo (I guess). Right, I should proofread the docs. Thanks, Lluis --=20 "And it's much the same thing with knowledge, for whenever you learn something new, the whole world becomes that much richer." -- The Princess of Pure Reason, as told by Norton Juster in The Phantom Tollbooth