From 9f16cc74f6bf91971a0c6c1ed0cbca629da56297 Mon Sep 17 00:00:00 2001 From: deraadt Date: Thu, 14 Dec 1995 02:52:38 +0000 Subject: [PATCH] from netbsd; Describe PROFDIR environment variable --- usr.bin/gprof/gprof.1 | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) 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 -- 2.20.1