* [Qemu-devel] Monitor instruction execution
@ 2012-04-01 16:19 César
0 siblings, 0 replies; 4+ messages in thread
From: César @ 2012-04-01 16:19 UTC (permalink / raw)
To: qemu-devel
Hello there,
Consider I`ve an apllication A executing in "linux-user" mode. How can
I monitor the execution of some instructions from A? For example, all
calls. I thought inserting an interrupt before all calls and creating
a new interrupt handler could do the job, but I can´t get it working.
Any ideas on this?
César.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Qemu-devel] Monitor instruction execution
@ 2012-04-02 20:52 César
0 siblings, 0 replies; 4+ messages in thread
From: César @ 2012-04-02 20:52 UTC (permalink / raw)
To: qemu-devel
Hello there,
How can I monitor the execution of some specific instructions (for
example calls) of an application executing in linux-user mode? My
first idea was inserting an interrupt (creating its proper handler)
before all target instructions but I couldn`t get the it working. Any
ideas on this?
César.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Qemu-devel] Monitor Instruction Execution
@ 2012-04-02 23:36 César
2012-04-04 3:03 ` 陳韋任
0 siblings, 1 reply; 4+ messages in thread
From: César @ 2012-04-02 23:36 UTC (permalink / raw)
To: qemu-devel
Hello there,
How can I monitor the execution of some specific instructions (for
example calls) of an application executing in linux-user mode? My
first idea was inserting an interrupt (creating its proper handler)
before all target instructions but I couldn`t get the it working. Any
ideas on this?
César.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] Monitor Instruction Execution
2012-04-02 23:36 [Qemu-devel] Monitor Instruction Execution César
@ 2012-04-04 3:03 ` 陳韋任
0 siblings, 0 replies; 4+ messages in thread
From: 陳韋任 @ 2012-04-04 3:03 UTC (permalink / raw)
To: C廥ar; +Cc: qemu-devel
> How can I monitor the execution of some specific instructions (for
> example calls) of an application executing in linux-user mode? My
> first idea was inserting an interrupt (creating its proper handler)
> before all target instructions but I couldn`t get the it working. Any
> ideas on this?
How about inserting your own helper functions instead of an interrupt?
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-04-04 3:03 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-01 16:19 [Qemu-devel] Monitor instruction execution César
-- strict thread matches above, loose matches on Subject: below --
2012-04-02 20:52 César
2012-04-02 23:36 [Qemu-devel] Monitor Instruction Execution César
2012-04-04 3:03 ` 陳韋任
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).