qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Accessing process ID in QEMU
@ 2007-04-05  6:23 Shashidhar Mysore
  2007-04-05 16:26 ` André Braga
  0 siblings, 1 reply; 2+ messages in thread
From: Shashidhar Mysore @ 2007-04-05  6:23 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 693 bytes --]

Hi,

I am trying to add commands to the monitor which can enable or disable
tracing in QEMU. As arguments to this command I would like to pass the
process ID of the process I wish to trace. Can anybody tell me how to access
the process ID from within QEMU?

Basically, whenever I see an instruction executing I want to capture more
details about the instruction such as the type of instruction, the process
ID of the process on behalf of which this instruction is executing (other
details I'm interested in is if this is a load or store, memory address, and
memory value loaded/stored, etc). Can you please tell me how to figure out
these details, especially the process ID.

Thanks,
-Shashi.

[-- Attachment #2: Type: text/html, Size: 725 bytes --]

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

end of thread, other threads:[~2007-04-05 16:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-05  6:23 [Qemu-devel] Accessing process ID in QEMU Shashidhar Mysore
2007-04-05 16:26 ` André Braga

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