summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorPhilip Guenthe <guenther@cvs.openbsd.org>2012-08-02 03:18:49 +0000
committerPhilip Guenthe <guenther@cvs.openbsd.org>2012-08-02 03:18:49 +0000
commit00f2412b5b50d377e53d5a62f066ce474e8cd21b (patch)
tree106bc99544085c605b361dc4860ced572a8130ed /bin
parentf336bc8563bd527edda0ad338295faa8fe31a06d (diff)
Apply profiling to all threads instead of just the thread that called
profil() by moving P_PROFIL from proc->p_flag to process->ps_flags with matching adjustment in fork1() and exit1() ok matthew@
Diffstat (limited to 'bin')
-rw-r--r--bin/ps/ps.16
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/ps/ps.1 b/bin/ps/ps.1
index 7356f797864..432df90e1f9 100644
--- a/bin/ps/ps.1
+++ b/bin/ps/ps.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ps.1,v 1.82 2012/04/12 06:07:33 guenther Exp $
+.\" $OpenBSD: ps.1,v 1.83 2012/08/02 03:18:48 guenther Exp $
.\" $NetBSD: ps.1,v 1.16 1996/03/21 01:36:28 jtc Exp $
.\"
.\" Copyright (c) 1980, 1990, 1991, 1993, 1994
@@ -30,7 +30,7 @@
.\"
.\" @(#)ps.1 8.3 (Berkeley) 4/18/94
.\"
-.Dd $Mdocdate: April 12 2012 $
+.Dd $Mdocdate: August 2 2012 $
.Dt PS 1
.Os
.Sh NAME
@@ -226,7 +226,7 @@ PS_CONTROLT 0x2 process has a controlling terminal
P_SIGSUSPEND 0x8 need to restore before-suspend mask
PS_PPWAIT 0x10 parent is waiting for child to
exec/exit
-P_PROFIL 0x20 process has started profiling
+PS_PROFIL 0x20 process has started profiling
P_SELECT 0x40 selecting; wakeup/waiting danger
P_SINTR 0x80 sleep is interruptible
PS_SUGID 0x100 process had set ID privileges since