access variables within functions

Rus-Rebreanu Alin-Florin netblock@gmail.com
Mon Apr 14 15:16:00 GMT 2008


With my example i get:
semantic error: not accessible at this address: identified '$ret' at
<input>:1:70
When using kernel.statement i seem to have a result don't know if it's
correct yet but it's a result nonetheless, so I guess .statement did
the trick

Thanks

PS: I didn't  want to use .return. It was jus an example, it just
happened that the $ret variable has taken the result of the function
rw_verify_area. I wanted to know how to access the value of any
variable in any given function.



More information about the Systemtap mailing list