From: Yue Chen <ycyc321@gmail.com>
To: 陳韋任 <chenwj@iis.sinica.edu.tw>
Cc: Mulyadi Santosa <mulyadi.santosa@gmail.com>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Debug single program in QEMU
Date: Thu, 5 Apr 2012 21:17:00 -0400 [thread overview]
Message-ID: <CAKtBrB7OpHCZRFd738oyMj4JifVTCno5sFCEbuoujO_ZqkLOZw@mail.gmail.com> (raw)
In-Reply-To: <20120316022409.GA63194@cs.nctu.edu.tw>
[-- Attachment #1: Type: text/plain, Size: 1474 bytes --]
Hi, thanks again for your reply.
It seems that, from the instruction log, we can find out "*which
instructions belong to which process(task)*" according to CR3 register.
2012/3/15 陳韋任 <chenwj@iis.sinica.edu.tw>
> O.K., then. You must specify which mode you're running, user mode or
> system
> mode? User mode shouldn't have the issue you described. For system mode, I
> have
> no good idea on how to track a specific program running on the guest OS.
>
> On Thu, Mar 15, 2012 at 09:40:48AM -0400, Yue Chen wrote:
> > But it is hard to localize a specific program instead of lots of logs.
> > On Mar 15, 2012 4:14 AM, "陳韋任" <chenwj@iis.sinica.edu.tw> wrote:
> >
> > > On Thu, Mar 15, 2012 at 01:26:44PM +0700, Mulyadi Santosa wrote:
> > > > On Thu, Mar 15, 2012 at 09:12, Yue Chen <ycyc321@gmail.com> wrote:
> > > > > Hi!~
> > > > >
> > > > > Now I'd like to see what the micro-ops (intermediate operations
> > > generated by
> > > > > TCG) of a single Linux or Windows program, any approach to do this
> > > under
> > > > > QEMU? Thanks.
> > > >
> > > > are you referring to you Qemu system emulation or Qemu user mode?
> > >
> > > Does that matter? I think "-d op" should be enough, right?
>
> Regards,
> chenwj
>
> --
> 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: Type: text/html, Size: 2235 bytes --]
prev parent reply other threads:[~2012-04-06 1:17 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-15 2:12 [Qemu-devel] Debug single program in QEMU Yue Chen
2012-03-15 6:26 ` Mulyadi Santosa
2012-03-15 8:14 ` 陳韋任
2012-03-15 13:40 ` Yue Chen
2012-03-16 2:24 ` 陳韋任
2012-03-16 2:42 ` Yue Chen
2012-03-16 3:04 ` 陳韋任
2012-04-04 0:58 ` Yue Chen
2012-04-04 2:56 ` 陳韋任
2012-04-06 1:17 ` Yue Chen [this message]
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=CAKtBrB7OpHCZRFd738oyMj4JifVTCno5sFCEbuoujO_ZqkLOZw@mail.gmail.com \
--to=ycyc321@gmail.com \
--cc=chenwj@iis.sinica.edu.tw \
--cc=mulyadi.santosa@gmail.com \
--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 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).