Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jul 2018 19:39:29 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r336206 - stable/11/usr.bin/top
Message-ID:  <201807111939.w6BJdTMl002187@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Wed Jul 11 19:39:29 2018
New Revision: 336206
URL: https://svnweb.freebsd.org/changeset/base/336206

Log:
  MFC r335937:
  top: do not fall to the thread name if kernel cache of the process
  args is empty.

Modified:
  stable/11/usr.bin/top/machine.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/usr.bin/top/machine.c
==============================================================================
--- stable/11/usr.bin/top/machine.c	Wed Jul 11 19:38:42 2018	(r336205)
+++ stable/11/usr.bin/top/machine.c	Wed Jul 11 19:39:29 2018	(r336206)
@@ -1037,7 +1037,6 @@ format_next_process(caddr_t handle, char *(*get_userid
 		}
 	} else {
 		if (pp->ki_flag & P_SYSTEM ||
-		    pp->ki_args == NULL ||
 		    (args = kvm_getargv(kd, pp, cmdlen)) == NULL ||
 		    !(*args)) {
 			if (ps.thread && pp->ki_flag & P_HADTHREADS &&



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807111939.w6BJdTMl002187>