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, 3 insertions, 3 deletions
diff --git a/lib/libc/gmon/moncontrol.3 b/lib/libc/gmon/moncontrol.3
index 92993cd..a35389f 100644
--- a/lib/libc/gmon/moncontrol.3
+++ b/lib/libc/gmon/moncontrol.3
@@ -55,8 +55,8 @@ call-graph execution profiler.
In typical operation, profiling begins at program startup
and ends when the program calls exit.
When the program exits, the profiling data are written to the file
-.Em gmon.out ,
-then
+.Em progname.gmon ,
+where progname is the name of the program, then
.Xr gprof 1
can be used to examine the results.
.Pp
@@ -96,7 +96,7 @@ Profiling begins on return from
.Fn monstartup .
.Sh FILES
.Bl -tag -width Pa -compact
-.It Pa gmon.out execution data file
+.It Pa progname.gmon execution data file
.El
.Sh SEE ALSO
.Xr cc 1 ,
OpenPOWER on IntegriCloud