I'm following this up with Shiv directly and I'll post to
the alias if anything interesting falls out of it.

Jon.

> printa() in the below script results in segmentation fault. If %A in
> dtrace:::END is changed to %a, there is not segmentation fault but the
> output is in hex form (Ex: OUT: 8 0xffffffff75f6a3f4 14) and not
> readable.
> How to avoid the seg fault?
> Is there a means to use %a for arg1 and then extract symbol
> information (offline via any other tool?) mapping to the hex code to
> generate a readable output?
>
> #!/usr/sbin/dtrace -s
>
> #pragma D option quiet
>
> profile:::profile-1001hz
> /pid == $target/
> {      @pc[tid, arg1] = count();    }
>
> dtrace:::END
> {      printa("OUT: %d %A [EMAIL PROTECTED]",@pc);      }
> _______________________________________________
> dtrace-discuss mailing list
> dtrace-discuss@opensolaris.org
>   

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

Reply via email to