This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: enhancement: accessing exported non-scalar vars from user probe script
- From: fche at redhat dot com (Frank Ch. Eigler)
- To: Kevin Stafford <kevinrs at us dot ibm dot com>
- Cc: systemtap at sources dot redhat dot com
- Date: 14 Sep 2005 10:29:12 -0400
- Subject: Re: enhancement: accessing exported non-scalar vars from user probe script
- References: <4327453E.6050201@us.ibm.com>
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