Re: [dtrace-discuss] dtrace overhead and proper measuring technique

2009-09-10 Thread Joel Reymont
On Sep 9, 2009, at 9:58 PM, James McIlree wrote: Given that you have only 40 hits, my guess is you should use the .9s context. May I ask why? Can this be generalized into saying that function run time as measured by timestamp should _always_ be evaluated against total eval time

[dtrace-discuss] sharing of variables between scripts

2009-09-10 Thread Joel Reymont
I'm running dtrace with multiple scripts, e.g. -s foo.d -s bar.d -s baz.d. It looks like variables in one script overwrite variables in another. I was expecting, perhaps wrongfully, that variables would be per- script and not per dtrace run. Am I correct that dtrace merges all the scripts