|
Description
|
Currently, a ::threadlist can be hard to read due to the large
number of taskq threads. It would be nice to have a -t option
to strip out such threads (t->t_taskq != NULL), as well as
print taskq names as appropriate, e.g.:
> ::threadlist
ADDR PROC LWP CMD/LWPID
fffffffffbc488e0 fffffffffbc47c70 fffffffffbc4b540 sched/1
ffffff0001c05c80 fffffffffbc47c70 0 idle()
ffffff0001c0bc80 fffffffffbc47c70 0 thread_reaper()
ffffff0001c11c80 fffffffffbc47c70 0 tq:kmem_taskq
> ffffff0001c11c80::threadlist -v
ADDR PROC LWP CLS PRI WCHAN
ffffff0001c11c80 fffffffffbc47c70 0 0 60 ffffff00b9cf5f38
PC: _resume_from_idle+0xfa TASKQ: kmem_taskq
stack pointer for thread ffffff0001c11c80: ffffff0001c11b60
[ ffffff0001c11b60 _resume_from_idle+0xfa() ]
swtch+0x221()
cv_wait+0x73()
taskq_thread+0x130()
thread_start+8()
|