On Tue, Oct 27, 2009 at 02:00:52PM -0400, Jim Mauro wrote:
I've run into this from time to time.
Simple example;
#dtrace -n 'hotspot27563::: { @[probename]=count(); } tick-1sec {
printa(@); clear(@); }'
The sample output (below) shows a couple functions (probename)
with a value of
On Oct 27, 2009, at 6:03 PM, Jonathan Adams wrote:
Clear clears all values in the aggregation to 0; to remove all
elements from
the aggregation, you want trunc(@a).
That's what I wanted to say but doesn't printa(@a) come before the
clear?
---
firefox for android!
http://wagerlabs.com
D'oh!
Thanks
Jonathan Adams wrote:
On Tue, Oct 27, 2009 at 02:00:52PM -0400, Jim Mauro wrote:
I've run into this from time to time.
Simple example;
#dtrace -n 'hotspot27563::: { @[probename]=count(); } tick-1sec {
printa(@); clear(@); }'
The sample output (below) shows a couple
On Tue, Oct 27, 2009 at 06:06:44PM +, Joel Reymont wrote:
On Oct 27, 2009, at 6:03 PM, Jonathan Adams wrote:
Clear clears all values in the aggregation to 0; to remove all
elements from
the aggregation, you want trunc(@a).
That's what I wanted to say but doesn't printa(@a) come