On Tue, 2010-05-18 at 17:28 -0400, Angelo Rajadurai wrote:
> The error message is a little misleading. The limitation is not scratch
>  space but the size of the strings(strsize) in DTrace. This is 256
>  bytes by default. If your strjoin is bigger than 256 bytes then you
>  would get this error. See 
>  
> http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/common/dtrace/dtrace.c#3863
> 
> The way to fix it is to set strsize
> 
> #pragma D option strsize=1024 // make sure your string can fit in!
> 

Thanks for the idea but it doesn't seem to make any difference even if I
increase strsize up to 2097152 (above which I get drops).
The size of the string is just 5 characters "TEST" + "@".

I'll file a bug.

Thanks,

-M

_______________________________________________
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org

Reply via email to