thread_walk_states
thread_walk_states(print_tstate_help, NULL);
void thread_walk_states(void (*)(uint_t, const char *, void *), void *);