diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-12-14 02:52:39 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-12-14 02:52:39 +0000 |
commit | 010830167f1579c5d713419f43c422770cb095b7 (patch) | |
tree | 350e036d0cf34bd3ec862572bcf59e0719ff0192 | |
parent | 7e145a5b956e0f58d3c46a5234d3bc3cfb185ea5 (diff) |
from netbsd; Describe PROFDIR environment variable
-rw-r--r-- | usr.bin/gprof/gprof.1 | 13 |
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 |