qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Instruction tracing
@ 2017-06-20 16:35 Nayan Deshmukh
  2017-06-21 14:47 ` Alex Bennée
  0 siblings, 1 reply; 2+ messages in thread
From: Nayan Deshmukh @ 2017-06-20 16:35 UTC (permalink / raw)
  To: qemu-devel

Hello!

I was wondering if its possible to get an instruction trace of the
process running on the guest OS in the VM including the instructions
executed during system calls.

Can someone please give me some pointers regarding how this could be
implemented.

Cheers,
Nayan Deshmukh

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] Instruction tracing
  2017-06-20 16:35 [Qemu-devel] Instruction tracing Nayan Deshmukh
@ 2017-06-21 14:47 ` Alex Bennée
  0 siblings, 0 replies; 2+ messages in thread
From: Alex Bennée @ 2017-06-21 14:47 UTC (permalink / raw)
  To: Nayan Deshmukh; +Cc: qemu-devel


Nayan Deshmukh <nayan26deshmukh@gmail.com> writes:

> Hello!
>
> I was wondering if its possible to get an instruction trace of the
> process running on the guest OS in the VM including the instructions
> executed during system calls.
>
> Can someone please give me some pointers regarding how this could be
> implemented.

 $QEMU -d help

Will list a bunch of debug options for TCG. You can get somewhat close
to what you want with:

 $QEMU $OPTS -d in_asm,exec,nochain

>
> Cheers,
> Nayan Deshmukh


--
Alex Bennée

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-06-21 14:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-20 16:35 [Qemu-devel] Instruction tracing Nayan Deshmukh
2017-06-21 14:47 ` Alex Bennée

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).