qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Dynamic Binary Instrumentation


From: Lluís Vilanova
Subject: Re: [Qemu-devel] Dynamic Binary Instrumentation
Date: Tue, 25 Sep 2012 21:19:47 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux)

陳韋任 (Wei-Ren Chen) writes:

> 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'

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=../trace-events 
--with-trace-instrument=dynamic --prefix=/tmp/qemu-install 
--enable-trace-backend=stderr --target-list="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

-- 
 "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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]