From: Robert Peter <robert1peter@web.de>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Tracing TranslationBlocks to file
Date: Fri, 10 Sep 2010 14:39:10 +0200 [thread overview]
Message-ID: <4C8A26EE.1090500@web.de> (raw)
Hello!
I am trying to modify Qemu to trace the executed BasicBlocks and their
lengths to a file. The host platform is x86_64, quest is arm-softmmu.
Currently I am passing the current TranslationBlock from
gen_intermediate_code_internal() to disas_arm_insn() in
"target-arm/translate.c". The TranslationBlock's pc and size field are
writte to a file in disas_arm_insn().
Unfortunately, "size" is 0 in most cases. Is this correct? Additionally,
I am wondering if "size" represents the TB's size before or after
translation (in ARM or x86 code).
Any help would be greatly appreciated!
Thanks,
Robert
reply other threads:[~2010-09-10 12:39 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=4C8A26EE.1090500@web.de \
--to=robert1peter@web.de \
--cc=qemu-devel@nongnu.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.