Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Mar 2020 23:28:23 -0400
From:      Ryan Moeller <freqlabs@FreeBSD.org>
To:        Kyle Evans <self@kyle-evans.net>
Cc:        src-committers <src-committers@freebsd.org>, svn-src-all <svn-src-all@freebsd.org>, svn-src-head <svn-src-head@freebsd.org>
Subject:   Re: svn commit: r358923 - in head: lib/libpmcstat usr.sbin/pmcstat
Message-ID:  <957959A8-7D87-4858-8768-EB132BB97A64@FreeBSD.org>
In-Reply-To: <CACNAnaGdt=QB0NHXnRo2QbdWy%2BVL4-cXnuXsj5B393qzKQXRdw@mail.gmail.com>
References:  <202003122304.02CN4fXO062077@repo.freebsd.org> <CACNAnaGdt=QB0NHXnRo2QbdWy%2BVL4-cXnuXsj5B393qzKQXRdw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

> It's unclear from the context- is there any particular reason this
> can't instead using sysctl kern.module_path and accept a semicolon
> delimited list of directories for -k (maybe calling it -k kernelpath
> instead)?

No, that looks technically possible.

-Ryan
From owner-svn-src-all@freebsd.org  Fri Mar 13 08:41:29 2020
Return-Path: <owner-svn-src-all@freebsd.org>
Delivered-To: svn-src-all@mailman.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8027C27783C;
 Fri, 13 Mar 2020 08:41:29 +0000 (UTC) (envelope-from 0mp@FreeBSD.org)
Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org
 [IPv6:2610:1c1:1:606c::19:3])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 server-signature RSA-PSS (4096 bits)
 client-signature RSA-PSS (4096 bits) client-digest SHA256)
 (Client CN "mxrelay.nyi.freebsd.org",
 Issuer "Let's Encrypt Authority X3" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 48dzgs0fTdz3DB5;
 Fri, 13 Mar 2020 08:41:29 +0000 (UTC) (envelope-from 0mp@FreeBSD.org)
Received: from repo.freebsd.org (repo.freebsd.org
 [IPv6:2610:1c1:1:6068::e6a:0])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D1157336B;
 Fri, 13 Mar 2020 08:41:28 +0000 (UTC) (envelope-from 0mp@FreeBSD.org)
Received: from repo.freebsd.org ([127.0.1.37])
 by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 02D8fSXm008004;
 Fri, 13 Mar 2020 08:41:28 GMT (envelope-from 0mp@FreeBSD.org)
Received: (from 0mp@localhost)
 by repo.freebsd.org (8.15.2/8.15.2/Submit) id 02D8fSKH008003;
 Fri, 13 Mar 2020 08:41:28 GMT (envelope-from 0mp@FreeBSD.org)
Message-Id: <202003130841.02D8fSKH008003@repo.freebsd.org>
X-Authentication-Warning: repo.freebsd.org: 0mp set sender to 0mp@FreeBSD.org
 using -f
From: Mateusz Piotrowski <0mp@FreeBSD.org>
Date: Fri, 13 Mar 2020 08:41:28 +0000 (UTC)
To: src-committers@freebsd.org, svn-src-all@freebsd.org,
 svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject: svn commit: r358929 - stable/12/bin/ps
X-SVN-Group: stable-12
X-SVN-Commit-Author: 0mp
X-SVN-Commit-Paths: stable/12/bin/ps
X-SVN-Commit-Revision: 358929
X-SVN-Commit-Repository: base
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-src-all@freebsd.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "SVN commit messages for the entire src tree \(except for &quot;
 user&quot; and &quot; projects&quot; \)" <svn-src-all.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/svn-src-all>,
 <mailto:svn-src-all-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-all/>;
List-Post: <mailto:svn-src-all@freebsd.org>
List-Help: <mailto:svn-src-all-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/svn-src-all>,
 <mailto:svn-src-all-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Mar 2020 08:41:29 -0000

Author: 0mp (doc,ports committer)
Date: Fri Mar 13 08:41:28 2020
New Revision: 358929
URL: https://svnweb.freebsd.org/changeset/base/358929

Log:
  MFC r339962:
  
  Approved by:	bcr (mentor)
  Differential Revision:	https://reviews.freebsd.org/D24047
  
  ps(1): Pet mandoc and igor
  
  - Use Xr to reference other manual pages.
  - Reference execve(2) instead of exec(2) as exec(2) does not exist.
  - Remove the deprecated "Tn" macro.
  - Improve the formatting of the etime description.
  
  Reviewed by:	bcr
  Approved by:	krion (mentor, implicit), mat (mentor, implicit)
  Differential Revision:	https://reviews.freebsd.org/D17780

Modified:
  stable/12/bin/ps/ps.1
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/bin/ps/ps.1
==============================================================================
--- stable/12/bin/ps/ps.1	Fri Mar 13 01:27:37 2020	(r358928)
+++ stable/12/bin/ps/ps.1	Fri Mar 13 08:41:28 2020	(r358929)
@@ -346,7 +346,7 @@ the include file
 .It Dv "P_HWPMC" Ta No "0x800000" Ta "Process is using HWPMCs"
 .It Dv "P_JAILED" Ta No "0x1000000" Ta "Process is in jail"
 .It Dv "P_TOTAL_STOP" Ta No "0x2000000" Ta "Stopped for system suspend"
-.It Dv "P_INEXEC" Ta No "0x4000000" Ta "Process is in execve()"
+.It Dv "P_INEXEC" Ta No "0x4000000" Ta Process is in Xr execve 2
 .It Dv "P_STATCHILD" Ta No "0x8000000" Ta "Child process stopped or exited"
 .It Dv "P_INMEM" Ta No "0x10000000" Ta "Loaded into memory"
 .It Dv "P_SWAPPINGOUT" Ta No "0x20000000" Ta "Process is being swapped out"
@@ -361,8 +361,8 @@ the include file
 .In sys/proc.h :
 .Bl -column P2_INHERIT_PROTECTED 0x00000001
 .It Dv "P2_INHERIT_PROTECTED" Ta No "0x00000001" Ta "New children get P_PROTECTED"
-.It Dv "P2_NOTRACE" Ta No "0x00000002" Ta "No ptrace(2) attach or coredumps"
-.It Dv "P2_NOTRACE_EXEC" Ta No "0x00000004" Ta "Keep P2_NOPTRACE on exec(2)"
+.It Dv "P2_NOTRACE" Ta No "0x00000002" Ta "No" Xr ptrace 2 attach or coredumps
+.It Dv "P2_NOTRACE_EXEC" Ta No "0x00000004" Ta Keep P2_NOPTRACE on Xr execve 2
 .It Dv "P2_AST_SU" Ta No "0x00000008" Ta "Handles SU ast for kthreads"
 .It Dv "P2_PTRACE_FSTP" Ta No "0x00000010" Ta "SIGSTOP from PT_ATTACH not yet handled"
 .El
@@ -453,8 +453,7 @@ Marks a process which is in
 The hostname of the prison can be found in
 .Pa /proc/ Ns Ao Ar pid Ac Ns Pa /status .
 .It Li L
-The process has pages locked in core (for example, for raw
-.Tn I/O ) .
+The process has pages locked in core (for example, for raw I/O).
 .It Li N
 The process has reduced CPU scheduling priority (see
 .Xr setpriority 2 ) .
@@ -553,9 +552,11 @@ data size (in Kbytes)
 system-call emulation environment (ABI)
 .It Cm etime
 elapsed running time, format
+.Do
 .Op days- Ns
-.Op hours: Ns
-minutes:seconds.
+.Op hours\&: Ns
+minutes:seconds
+.Dc
 .It Cm etimes
 elapsed running time, in decimal integer seconds
 .It Cm fib



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?957959A8-7D87-4858-8768-EB132BB97A64>