public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* function parameter access in kretprobe handler
@ 2005-12-31 14:27 Mao, Bibo
  2006-01-03 16:25 ` Frank Ch. Eigler
  2006-01-06  9:40 ` Roland McGrath
  0 siblings, 2 replies; 5+ messages in thread
From: Mao, Bibo @ 2005-12-31 14:27 UTC (permalink / raw)
  To: systemtap

Hi, 
	I remembered that previously I saw some scripts where function
parameter is accessed in return probe function. But I think that
currently systemtap has not this capability. 
	Because return probe handler happens when function returns and
causes one trap, sometimes function parameter is passed by register, for
example in IA32 the first parameter is passed by EAX register, and EAX
register can be changed during execution of this function. So when
return probe handler happens, if it accesses the first parameter by EAX
register, it will be wrong value.
	I do not know what is wrong with my thought.

Regards
Bibo,mao

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

end of thread, other threads:[~2006-01-06 22:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-31 14:27 function parameter access in kretprobe handler Mao, Bibo
2006-01-03 16:25 ` Frank Ch. Eigler
2006-01-06  9:40 ` Roland McGrath
2006-01-06 21:35   ` Jim Keniston
2006-01-06 22:59     ` Roland McGrath

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 read-only IMAP folder(s) and NNTP newsgroup(s).