th_trace
{ "th_trace", "?[-n]", "display th_trace_t structures", th_trace,
th_trace_rrecord(th_trace_t *th_trace)
lastref = th_trace->th_trace_lastref;
th_trace->th_trace_lastref = lastref;
tr_buf = &th_trace->th_trbuf[lastref];
th_trace_t *th_trace = value;
ASSERT(th_trace->th_refcnt == 0);
kmem_free(th_trace, sizeof (*th_trace));
th_trace_t *th_trace;
th_trace = kmem_zalloc(sizeof (th_trace_t), KM_NOSLEEP);
if (th_trace == NULL)
th_trace->th_id = curthread;
(mod_hash_val_t)th_trace) != 0) {
kmem_free(th_trace, sizeof (th_trace_t));
th_trace = (th_trace_t *)val;
ASSERT(th_trace->th_refcnt >= 0 &&
th_trace->th_refcnt < TR_BUF_MAX - 1);
th_trace->th_refcnt++;
th_trace_rrecord(th_trace);
th_trace_t *th_trace;
th_trace = (th_trace_t *)val;
ASSERT(th_trace->th_refcnt > 0);
th_trace->th_refcnt--;
th_trace_rrecord(th_trace);
th_trace_t *th_trace;
th_trace = (th_trace_t *)val;
th_trace->th_refcnt = 0;