public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* trace function argument
@ 2009-06-16  9:08 Christian Kaiser
  2009-06-16  9:15 ` Ananth N Mavinakayanahalli
  0 siblings, 1 reply; 7+ messages in thread
From: Christian Kaiser @ 2009-06-16  9:08 UTC (permalink / raw)
  To: systemtap

Hi all,

is it possible to get the value of a function argument of a probed function?

With dtrace for example, you can do something like:
dtrace -n '::some_function:entry/arg0 != 0/{ printf("arg0 is not zero!"); }'

I have searched the "Beginners Guide", mailinglist, wiki, web, etc. but 
could not find anything useful.

Thanks!

   Christian

-- 
Christian Kaiser, Software Engineer, Dolphin Interconnect Solutions
http://www.dolphinics.com

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

end of thread, other threads:[~2009-06-16 10:47 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-16  9:08 trace function argument Christian Kaiser
2009-06-16  9:15 ` Ananth N Mavinakayanahalli
2009-06-16  9:47   ` Christian Kaiser
2009-06-16 10:01     ` Ananth N Mavinakayanahalli
2009-06-16 10:31       ` Christian Kaiser
2009-06-16 10:47         ` Ananth N Mavinakayanahalli
2009-06-16 10:04     ` Mark Wielaard

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