summaryrefslogtreecommitdiffstats
path: root/lib/libc/gmon/moncontrol.3
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/gmon/moncontrol.3')
-rw-r--r--lib/libc/gmon/moncontrol.36
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/libc/gmon/moncontrol.3 b/lib/libc/gmon/moncontrol.3
index 7979a71..f78ceae 100644
--- a/lib/libc/gmon/moncontrol.3
+++ b/lib/libc/gmon/moncontrol.3
@@ -98,6 +98,12 @@ however, all functions in that address range will
have their execution time measured.
Profiling begins on return from
.Fn monstartup .
+.Sh ENVIRONMENT
+The following environment variables affect the execution of
+.Nm :
+.Bl -tag -width ".Ev PROFIL_USE_PID"
+.It PROFIL_USE_PID
+If set, the pid of the process is inserted into the filename.
.Sh FILES
.Bl -tag -width progname.gmon -compact
.It Pa progname.gmon
OpenPOWER on IntegriCloud