trace function argument

Christian Kaiser kaiser@dolphinics.com
Tue Jun 16 09:08:00 GMT 2009


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



More information about the Systemtap mailing list