This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: rethinking syscall tapset
Hi -
> > [...] Can you provide a script scenario where a run-time
> > type-code conditional is needed?
> [...]
> probe syscall.*.return {
> printf("%d\n", returnval())
> }
>
> How do I know that the returnvalue is not an address and should be
> printed in hex?
One is the same way as for syscall arguments - the tapset alias can
provide a formatted value analogous to "argstr".
- FChE