diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2021-09-12 18:07:50 +0200 |
---|---|---|
committer | BenBE <BenBE@geshi.org> | 2021-09-12 18:20:40 +0200 |
commit | 3c8d586a1c936bc5e2c9424485485f1911b54e77 (patch) | |
tree | c79a0ae8cb7fa161c28e4215bcf4a27db9bcd13a /linux | |
parent | 3869c4339392a51a6132e6c727de79f6cfe0b7f5 (diff) |
Linux: recalculate LRS value
The LRS value is only zero in the first cycle; drop the check to
recalculate while running.
Diffstat (limited to 'linux')
-rw-r--r-- | linux/LinuxProcessList.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/LinuxProcessList.c b/linux/LinuxProcessList.c index c4b7ebc7..8d82b00c 100644 --- a/linux/LinuxProcessList.c +++ b/linux/LinuxProcessList.c @@ -1423,7 +1423,7 @@ static bool LinuxProcessList_recurseProcTree(LinuxProcessList* this, openat_arg_ { bool prev = proc->usesDeletedLib; - if ((lp->m_lrs == 0 && (settings->flags & PROCESS_FLAG_LINUX_LRS_FIX)) || + if ((settings->flags & PROCESS_FLAG_LINUX_LRS_FIX) || (settings->highlightDeletedExe && !proc->procExeDeleted && !proc->isKernelThread && !proc->isUserlandThread)) { // Check if we really should recalculate the M_LRS value for this process uint64_t passedTimeInMs = pl->realtimeMs - lp->last_mlrs_calctime; |