This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
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