thread_getdesc
(void) thread_getdesc(addr, B_TRUE, tdesc, sizeof (tdesc));
(void) thread_getdesc(addr, B_FALSE, desc, sizeof (desc));
if (thread_getdesc(addr, B_TRUE, desc, sizeof (desc)) == -1)
(void) thread_getdesc((uintptr_t)log[i].kthread,
(void) thread_getdesc(addr, B_TRUE, tdesc, sizeof (tdesc));
int thread_getdesc(uintptr_t, boolean_t, char *, size_t);