]> granicus.if.org Git - psmisc/commit
Full thread display for pstree an option
authorAllan Wirth <wirtha@users.sf.net>
Fri, 28 Feb 2014 22:09:19 +0000 (09:09 +1100)
committerCraig Small <csmall@enc.com.au>
Fri, 28 Feb 2014 22:17:41 +0000 (09:17 +1100)
commit65896871622b8ed53713d259653d4a26ae4e23ce
treecf03b16a06d0f8f46b36c0d5d3701082c96fe06f
parent3638cc55b4d08851faba46635d737b24d016665b
Full thread display for pstree an option

Commit [9de89a] made pstree show the correct thread names. This had
the unintended consequence of making a lot of thread views
uncompact, as the names would be different.

Allan suggested that if you want to see the real thread names, then
explictly ask for them. I agree and pstree now has a new option -t
for showing thread names.

$ pstree 22603
udisksd───4*[{udisksd}]
$ pstree -t 22603
udisksd─┬─{cleanup}
        ├─{gdbus}
        ├─{gmain}
        └─{probing-thread}

References: [#33] https://sourceforge.net/p/psmisc/patches/33/
Signed-off-by: Craig Small <csmall@enc.com.au>
ChangeLog
doc/pstree.1
src/pstree.c