K 10 svn:author V 6 karels K 8 svn:date V 27 2019-10-03T02:51:48.490770Z K 7 svn:log V 547 MFC r352867: Add support for ps -H on corefiles in libkvm Add support for kernel threads in kvm_getprocs() and the underlying kvm_proclist() in libkvm when fetching from a kernel core file. This has been missing/needed for several releases, when kernel threads became normal threads. The loop over the processes now contains a sub-loop for threads, which iterates beyond the first thread only when threads are requested. Also set some fields such as tid that were previously uninitialized. Approved by: re (gjb) Sponsored by: Forcepoint LLC END