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: enhancement: accessing exported non-scalar vars from user probe script


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


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