[dtrace-discuss] What am I missing in the dtrace script?

Brian D. Horn Brian.Horn at Sun.COM
Thu Jul 12 17:47:50 PDT 2007


Wee Yeh Tan wrote:
> On 7/13/07, Brian D. Horn <Brian.Horn at sun.com> wrote:
>> Ok, then the question becomes "Where is documented that aggregates are
>> MP safe, but scalars are
>> not MP safe?"
>
> Hah... I sort of saw that coming.  I recall seeing this somewhere
> though I cannot remember exactly where.  Didn't see it in Bryan's
> DTrace gotchas.
>
> Does this warrant a bug against the documentation?  Perhaps a note in
> the variables section saying that "Global variables are not MP safe."?
>
I don't know whether it is a bug or not yet.  I may have missed some
piece of documentation or seen old documentation.  It also begs the
question of "Why was it decided that scalars should not be MP safe?"
(assuming that is was decided as such!).


More information about the dtrace-discuss mailing list