> > Why can't I use stack as the index to an associative array when I can > use it as the index to an aggregation? Am I doing something wrong? And > if I can't use it, does anyone have a suggestion how to store the time > of the last call of each stack?
If Bryan is monitoring this, he can provide a more authoritative answer, but I believe the use of stack() -- normally a data recording action -- as a key to an aggregation was a special case. The stack() action should, perhaps, have produced an object that could then be used as a key for an aggregation or associative array, or recorded with, say, the trace() action (e.g. trace(stack());). Arguably it's a bug that you can't use stack() in the way that you described. You should feel free to file it with Oracle or in illumos. Adam -- Adam Leventhal, Delphix http://dtrace.org/blogs/ahl
_______________________________________________ dtrace-discuss mailing list dtrace-discuss@opensolaris.org