From: deraadt Date: Thu, 14 Dec 1995 02:52:38 +0000 (+0000) Subject: from netbsd; Describe PROFDIR environment variable X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=9f16cc74f6bf91971a0c6c1ed0cbca629da56297;p=openbsd from netbsd; Describe PROFDIR environment variable --- 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