FreeBSD: populate processor field

This commit is contained in:
Christian Göttsche 2021-01-27 15:11:58 +01:00 committed by BenBE
parent 79620d01c0
commit 8c43856380

View File

@ -521,6 +521,8 @@ void ProcessList_goThroughEntries(ProcessList* super, bool pauseProcessUpdate) {
* }
*/
proc->processor = kproc->ki_lastcpu;
proc->priority = kproc->ki_pri.pri_level - PZERO;
if (String_eq("intr", kproc->ki_comm) && (kproc->ki_flag & P_SYSTEM)) {