Hi, I'd like to know if D enables to save and recall values of the same thread in a way like self->... does.
Let's say a thread fires syscall::open:entry two times and gets 2 filedescriptors. How could I save those in syscall::open:return for later reuse? The use of just 1 variable (e.g.self->fd) only would overwrite the value at the 2nd call. Maybe an associative array would tend to a solution, like self->fd[port] = ... ? And how could I evaluate them in a predicate of another probe? thank you, goinsane -- This message posted from opensolaris.org _______________________________________________ dtrace-discuss mailing list dtrace-discuss@opensolaris.org