This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
trace function argument
- From: Christian Kaiser <kaiser at dolphinics dot com>
- To: systemtap at sourceware dot org
- Date: Tue, 16 Jun 2009 11:08:35 +0200
- Subject: trace function argument
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