qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "陳韋任 (Wei-Ren Chen)" <chenwj@iis.sinica.edu.tw>
To: "Lluís Vilanova" <vilanova@ac.upc.edu>
Cc: qemu-devel@nongnu.org, "陳韋任 (Wei-Ren Chen)" <chenwj@iis.sinica.edu.tw>
Subject: Re: [Qemu-devel] Dynamic Binary Instrumentation
Date: Wed, 26 Sep 2012 00:44:36 +0800	[thread overview]
Message-ID: <20120925164435.GA72354@cs.nctu.edu.tw> (raw)
In-Reply-To: <87mx0ja417.fsf@fimbulvetr.bsc.es>

[-- Attachment #1: Type: text/plain, Size: 838 bytes --]

On Fri, Sep 21, 2012 at 03:39:32PM +0200, Lluís Vilanova wrote:
> Sorry, it's up again. The server is low on RAM and Linux' OOM killer kicks 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 

P.S. Attach is a minor patch which fix a typo (I guess).

-- 
Wei-Ren Chen (陳韋任)
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

[-- Attachment #2: qemu-dbi.patch --]
[-- Type: text/x-diff, Size: 737 bytes --]

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

  reply	other threads:[~2012-09-25 16:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-04 20:08 [Qemu-devel] Dynamic Binary Instrumentation Lluís Vilanova
2012-09-21  6:42 ` 陳韋任 (Wei-Ren Chen)
2012-09-21 13:39   ` Lluís Vilanova
2012-09-25 16:44     ` 陳韋任 (Wei-Ren Chen) [this message]
2012-09-25 19:19       ` Lluís Vilanova

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120925164435.GA72354@cs.nctu.edu.tw \
    --to=chenwj@iis.sinica.edu.tw \
    --cc=qemu-devel@nongnu.org \
    --cc=vilanova@ac.upc.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).