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 &&
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to