diff options
author | Benny Baumann <BenBE@geshi.org> | 2021-04-18 18:10:04 +0200 |
---|---|---|
committer | BenBE <BenBE@geshi.org> | 2021-05-23 09:22:21 +0200 |
commit | a61a2e6d470b3a5d075a5ba7d8d4cd37ef3f78b5 (patch) | |
tree | b359bec3f5e3a6defdc7483772f5b96c51f0f666 /linux/LinuxProcessList.c | |
parent | bcb18ef82269c68d54a160290e5f8b2e939674ec (diff) |
Call makeCommandStr on all platforms
Diffstat (limited to 'linux/LinuxProcessList.c')
-rw-r--r-- | linux/LinuxProcessList.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/linux/LinuxProcessList.c b/linux/LinuxProcessList.c index ca2f2b80..0977bee8 100644 --- a/linux/LinuxProcessList.c +++ b/linux/LinuxProcessList.c @@ -1425,15 +1425,6 @@ static bool LinuxProcessList_recurseProcTree(LinuxProcessList* this, openat_arg_ } } } - /* (Re)Generate the Command string, but only if the process is: - * - not a kernel thread, and - * - not a zombie or it became zombie under htop's watch, and - * - not a user thread or if showThreadNames is not set */ - if (!Process_isKernelThread(proc) && - (proc->state != 'Z' || proc->mergedCommand.str) && - (!Process_isUserlandThread(proc) || !settings->showThreadNames)) { - Process_makeCommandStr(proc); - } #ifdef HAVE_DELAYACCT if (settings->flags & PROCESS_FLAG_LINUX_DELAYACCT) { |