]> granicus.if.org Git - procps-ng/commit
top: speed up the collapsed children forest view logic
authorJim Warner <james.warner@comcast.net>
Thu, 9 Aug 2018 05:00:00 +0000 (00:00 -0500)
committerCraig Small <csmall@enc.com.au>
Mon, 13 Aug 2018 10:50:01 +0000 (20:50 +1000)
commit5e1c339befb95329943d0b59d498416d71fad598
tree73edb8808b286bee07137723ec30b1fab516828b
parentcfe5b38a194cb6096f49b84e957da33a28504098
top: speed up the collapsed children forest view logic

In forest view mode, once a collapsible parent process
and all of its children (if any) have been identified,
there is no longer a need to scan the remaining tasks.

So this patch will just force a new scan for any other
'Hide_pid' entries which might remain to be identified
after a targeted parent has been completely processed.

Signed-off-by: Jim Warner <james.warner@comcast.net>
top/top.c