+
+#if CONFIG_DTRACE
+ uint32_t t_dtrace_errno; /* Most recent errno */
+ siginfo_t t_dtrace_siginfo;
+ uint64_t t_dtrace_resumepid; /* DTrace's pidresume() pid */
+ uint8_t t_dtrace_stop; /* indicates a DTrace desired stop */
+ uint8_t t_dtrace_sig; /* signal sent via DTrace's raise() */
+
+ union __tdu {
+ struct __tds {
+ uint8_t _t_dtrace_on; /* hit a fasttrap tracepoint */
+ uint8_t _t_dtrace_step; /* about to return to kernel */
+ uint8_t _t_dtrace_ret; /* handling a return probe */
+ uint8_t _t_dtrace_ast; /* saved ast flag */
+#if __sol64 || defined(__APPLE__)
+ uint8_t _t_dtrace_reg; /* modified register */
+#endif
+ } _tds;
+ u_int32_t _t_dtrace_ft; /* bitwise or of these flags */
+ } _tdu;
+#define t_dtrace_ft _tdu._t_dtrace_ft
+#define t_dtrace_on _tdu._tds._t_dtrace_on
+#define t_dtrace_step _tdu._tds._t_dtrace_step
+#define t_dtrace_ret _tdu._tds._t_dtrace_ret
+#define t_dtrace_ast _tdu._tds._t_dtrace_ast
+#if __sol64 || defined(__APPLE__)
+#define t_dtrace_reg _tdu._tds._t_dtrace_reg
+#endif
+
+ user_addr_t t_dtrace_pc; /* DTrace saved pc from fasttrap */
+ user_addr_t t_dtrace_npc; /* DTrace next pc from fasttrap */
+ user_addr_t t_dtrace_scrpc; /* DTrace per-thread scratch location */
+ user_addr_t t_dtrace_astpc; /* DTrace return sequence location */
+
+ struct dtrace_ptss_page_entry* t_dtrace_scratch; /* scratch space entry */
+
+#if __sol64 || defined(__APPLE__)
+ uint64_t t_dtrace_regv; /* DTrace saved reg from fasttrap */
+#endif
+ void * t_dtrace_syscall_args;
+#endif /* CONFIG_DTRACE */
+ void * uu_threadlist;
+ char * pth_name;
+
+ /* Document Tracking struct used to track a "tombstone" for a document */
+ struct doc_tombstone *t_tombstone;
+
+ struct os_reason *uu_exit_reason;