From: Thiemo Seufer <ths@networkno.de>
To: Shashidhar Mysore <shashimc@gmail.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Re: PC traces from QEMU
Date: Tue, 3 Apr 2007 00:17:58 +0100 [thread overview]
Message-ID: <20070402231758.GA3601@networkno.de> (raw)
In-Reply-To: <12835c8f0704021532y4c78c78btd26d9526726951db@mail.gmail.com>
Shashidhar Mysore wrote:
> Hi Stuart,
>
> Thanks for the patch. It works well for me, except that the log file grows
> so huge and qemu slows down quite a lot. Did you have problems with this? I
> was wondering if there was a way to actually begin the PC trace collection
> after completely booting QEMU and also restrict it to a particular process
> ID?
FWIW, I would appreciate a patch which makes this a command line /
monitor log option called "pc". :-)
[snip]
> >--- target-i386/helper.c 1 Feb 2007 22:12:19 -0000 1.74
> >+++ target-i386/helper.c 30 Mar 2007 11:02:09 -0000
> >@@ -30,6 +30,16 @@
> >} while (0)
> >#endif
> >
> >+void helper_dump_pc(target_ulong pc)
> >+{
> >+ if (logfile)
> >+#ifdef TARGET_X86_64
> >+ fprintf(logfile, "PC = %016" PRIx64 "\n", pc);
> >+#else
> >+ fprintf(logfile, "PC = %08x\n", pc);
> >+#endif
We have TARGET_FMT_lx for that.
Thiemo
next prev parent reply other threads:[~2007-04-02 23:22 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-26 20:13 [Qemu-devel] PC traces from QEMU Shashidhar Mysore
2007-03-29 17:29 ` [Qemu-devel] " Antti P Miettinen
2007-03-29 20:37 ` Stuart Brady
2007-03-29 21:42 ` andrzej zaborowski
2007-03-30 1:28 ` Shashidhar Mysore
2007-03-30 11:10 ` Stuart Brady
2007-04-02 22:32 ` Shashidhar Mysore
2007-04-02 23:17 ` Thiemo Seufer [this message]
2007-03-30 1:25 ` Shashidhar Mysore
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=20070402231758.GA3601@networkno.de \
--to=ths@networkno.de \
--cc=qemu-devel@nongnu.org \
--cc=shashimc@gmail.com \
/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).