Received: from eggs.gnu.org ([208.118.235.92]:46809) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TGYFk-0002Qb-Lh for qemu-devel@nongnu.org; Tue, 25 Sep 2012 12:45:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TGYFd-0007h8-8o for qemu-devel@nongnu.org; Tue, 25 Sep 2012 12:44:56 -0400 Received: from csmailer.cs.nctu.edu.tw ([140.113.235.130]:51443) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TGYFc-0007gN-NU for qemu-devel@nongnu.org; Tue, 25 Sep 2012 12:44:49 -0400 Date: Wed, 26 Sep 2012 00:44:36 +0800 From: =?utf-8?B?6Zmz6Z+L5Lu7IChXZWktUmVuIENoZW4p?= Message-ID: <20120925164435.GA72354@cs.nctu.edu.tw> References: <87r4qhsg9i.fsf@fimbulvetr.bsc.es> <20120921064247.GB24129@cs.nctu.edu.tw> <87mx0ja417.fsf@fimbulvetr.bsc.es> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="/9DWx/yDrRhgMJTb" Content-Disposition: inline In-Reply-To: <87mx0ja417.fsf@fimbulvetr.bsc.es> Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] Dynamic Binary Instrumentation List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?utf-8?B?TGx1w61z?= Vilanova Cc: qemu-devel@nongnu.org, =?utf-8?B?6Zmz6Z+L5Lu7IChXZWktUmVuIENoZW4p?= --/9DWx/yDrRhgMJTb Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 ki= cks 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' Seems some files or functions are missing? Also, do you consider move your repo to github or other more reliable server? Regards, chenwj=20 P.S. Attach is a minor patch which fix a typo (I guess). --=20 Wei-Ren Chen (=E9=99=B3=E9=9F=8B=E4=BB=BB) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667 Homepage: http://people.cs.nctu.edu.tw/~chenwj --/9DWx/yDrRhgMJTb Content-Type: text/x-diff; charset=utf-8 Content-Disposition: attachment; filename="qemu-dbi.patch" diff --git a/docs/instrumentation.txt b/docs/instrumentation.txt index 58ce4cb..c2e79b0 100644 --- a/docs/instrumentation.txt +++ b/docs/instrumentation.txt @@ -39,7 +39,7 @@ property, if any) in the events listed in the "trace-events" file. In order to avoid modifying the QEMU sources, you can simply create a new trace-events file with your modifications: - cp /path/to/qemu-source/ /tmp/trace-events + cp /path/to/qemu-source/trace-events /tmp/trace-events sed -i -e "s/qemu_vmalloc(/instrument qemu_vmalloc(/g" /tmp/trace-events sed -i -e "s/disable tcg vbbl_before(/instrument tcg vbbl(/g" /tmp/trace-events sed -i -e "s/disable tcg vinstr_before_before(/instrument tcg vinstr_before(/g" /tmp/trace-events --/9DWx/yDrRhgMJTb--