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: Implementing a generic binary trace interface.


Hi -

> [...] One of simpler ways, I think, is to allow the script functions
> to take long arrays as its arguments. Thus, we can transport whole
> the array to user space as like below;
>
> function array_log ( map:long[] ) %{
> [...]
> %}

Can you think of a scenario where tracing an entire array could be
necessary in a time-critical place?  If not, then coding the array
printing by an explicit foreach would not be a serious burden.

- FChE


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