This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: access variables within functions


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]