Hi,

It looks like the output of copyinstr is truncated with the following code:

pid$$1:*:SQLPrepareAndExecute:entry
/strstr(this->str = copyinstr(arg1), $2)!= NULL/
{
    printf("%d : query : %s)\n", timestamp, this->str);
    printf("{");
    ustack(50);
    printf("}\n");
}

I can see the ending parenthesis after %s so it seems that my string got
truncated during copyinstr.

Can I adjust the corresponding buffer? Or maybe know its size so that I can
play with copyin and pointer arithmetics to see more?

  Thanks a lot,

PS:
I case my uname -a can help.
bash$ uname -a
SunOS koala 5.10 Generic_120011-14 sun4u sparc SUNW,Sun-Fire-V490
_______________________________________________
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org

Reply via email to