summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/gprof/gprof.113
1 files changed, 12 insertions, 1 deletions
diff --git a/usr.bin/gprof/gprof.1 b/usr.bin/gprof/gprof.1
index 62b8858e2b0..c991c790b98 100644
--- a/usr.bin/gprof/gprof.1
+++ b/usr.bin/gprof/gprof.1
@@ -1,4 +1,4 @@
-.\" $NetBSD: gprof.1,v 1.5 1995/04/19 07:15:57 cgd Exp $
+.\" $NetBSD: gprof.1,v 1.6 1995/11/21 22:24:55 jtc Exp $
.\"
.\" Copyright (c) 1983, 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -214,6 +214,17 @@ This is useful with the
.Fl c
option for discovering which routines were never called.
.El
+.Sh ENVIRONMENT
+.Bl -tag -width PROFDIR
+.It Ev PROFDIR
+If the environmental variable
+.Ev PROFDIR
+is set, profiling information is placed in that directory in a file named
+.Pa pid.progname .
+If it is set to a null value, no profiling information is output.
+Otherwise, profiling information is placed in the file
+.Pa gmon.out .
+.El
.Sh FILES
.Bl -tag -width gmon.sum -compact
.It Pa a.out