enhancement: accessing exported non-scalar vars from user probe script
Frank Ch. Eigler
fche@redhat.com
Wed Sep 14 14:29:00 GMT 2005
kevinrs wrote:
> [...] What is the difference here? I think that if there is support
> for accessing structs directly from probe scripts, than they should
> also be able to be exported as non-scalars from tapsets.
However, it's not that simple. Allowing systemtap variables
to store target-typed data opens up cans of worms that are
even meatier and juicier than those associated with storing
typed *pointers*. We shy away from both of them.
> Of course the other solution is to export the necessary scalar
> values of complex datatypes individually:
> [...]
> but I am unsure if this is necessary. [...]
It is, for the foreseeable future.
- FChE
More information about the Systemtap
mailing list