All of lore.kernel.org
 help / color / mirror / Atom feed
* monitoring code while executing.
@ 2004-11-22 18:24 A M
  2004-11-22 19:35 ` Jan-Benedict Glaw
  0 siblings, 1 reply; 5+ messages in thread
From: A M @ 2004-11-22 18:24 UTC (permalink / raw)
  To: linux-c-programming, linux-assembly

Hello, 

Can anybody think of a method in which one process can
view (monitor, read) the instructions of another
process while it is running (one process see
instruction of another process while they get fetched
to be executed)? Is it possible with threads instead
of processes? 


Thanks, 






		
__________________________________ 
Do you Yahoo!? 
Meet the all-new My Yahoo! - Try it today! 
http://my.yahoo.com 
 


^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: monitoring code while executing.
@ 2004-11-22 21:15 A M
  2004-11-23  5:50 ` Jan-Benedict Glaw
  0 siblings, 1 reply; 5+ messages in thread
From: A M @ 2004-11-22 21:15 UTC (permalink / raw)
  To: jbglaw; +Cc: linux-assembly

 

>Any debugger (like gdb) or system/library call tracer
>(strace, ltrace)
>does this using the ptrace system call.

>MfG, JBG

That is true but I am looking for a method that does
its work passively with out affecting the performance
of the original code. 

Ali


		
__________________________________ 
Do you Yahoo!? 
Meet the all-new My Yahoo! - Try it today! 
http://my.yahoo.com 
 


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

end of thread, other threads:[~2004-11-23  5:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-22 18:24 monitoring code while executing A M
2004-11-22 19:35 ` Jan-Benedict Glaw
2004-11-22 21:17   ` Daniel Souza
  -- strict thread matches above, loose matches on Subject: below --
2004-11-22 21:15 A M
2004-11-23  5:50 ` Jan-Benedict Glaw

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.