Implementing a generic binary trace interface.

Frank Ch. Eigler fche@redhat.com
Thu Jan 26 14:41:00 GMT 2006


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



More information about the Systemtap mailing list