From a61a2e6d470b3a5d075a5ba7d8d4cd37ef3f78b5 Mon Sep 17 00:00:00 2001 From: Benny Baumann Date: Sun, 18 Apr 2021 18:10:04 +0200 Subject: Call makeCommandStr on all platforms --- linux/LinuxProcessList.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'linux/LinuxProcessList.c') 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) { -- cgit v1.2.3