Displaying 1 result from an estimated 1 matches for "080a3290".
Did you mean:
0.073290
2006 Oct 24
15
How to emit associative array after ^C
Boy am I a dummy. I want to simply dump out unfreed allocations when I terminate the script. What''s the secret sauce?
#!/usr/sbin/dtrace -s
pid$1::MyAlloc:return
{
bufs[arg1] = walltimestamp;
}
pid$1::MyFree:entry
/bufs[arg0]/
{
bufs[arg0] = 0;
}
This message posted from opensolaris.org