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.32
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/gmon/moncontrol.3 b/lib/libc/gmon/moncontrol.3
index 1162178..fb507ab 100644
--- a/lib/libc/gmon/moncontrol.3
+++ b/lib/libc/gmon/moncontrol.3
@@ -63,7 +63,9 @@ where progname is the name of the program, then
.Xr gprof 1
can be used to examine the results.
.Pp
+The
.Fn moncontrol
+function
selectively controls profiling within a program.
When the program starts, profiling begins.
To stop the collection of histogram ticks and call counts use
OpenPOWER on IntegriCloud