diff options
author | Jason Evans <je@facebook.com> | 2010-04-01 01:43:24 (GMT) |
---|---|---|
committer | Jason Evans <je@facebook.com> | 2010-04-01 01:43:24 (GMT) |
commit | f18c98200145de70779a1b3286e7829b0268231e (patch) | |
tree | 95fa6b8e63861d0d34efd0ca4bc5008fe9cc6512 /jemalloc/doc | |
parent | a02fc08ec9dd8479a6430155b6a433da09f6ff10 (diff) | |
download | jemalloc-f18c98200145de70779a1b3286e7829b0268231e.zip jemalloc-f18c98200145de70779a1b3286e7829b0268231e.tar.gz jemalloc-f18c98200145de70779a1b3286e7829b0268231e.tar.bz2 |
Add sampling activation/deactivation control.
Add the E/e options to control whether the application starts with
sampling active/inactive (secondary control to F/f). Add the
prof.active mallctl so that the application can activate/deactivate
sampling on the fly.
Diffstat (limited to 'jemalloc/doc')
-rw-r--r-- | jemalloc/doc/jemalloc.3.in | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/jemalloc/doc/jemalloc.3.in b/jemalloc/doc/jemalloc.3.in index 13e616a..7e80916 100644 --- a/jemalloc/doc/jemalloc.3.in +++ b/jemalloc/doc/jemalloc.3.in @@ -341,6 +341,16 @@ physical memory becomes scarce and the pages remain unused. The default minimum ratio is 32:1; .Ev JEMALLOC_OPTIONS=6D will disable dirty page purging. +@roff_prof@.It E +@roff_prof@Activate/deactivate profiling. +@roff_prof@This is a secondary control mechanism that makes it possible to +@roff_prof@start the application with profiling enabled (see the +@roff_prof@.Dq F +@roff_prof@option) but inactive, then toggle profiling at any time during +@roff_prof@program execution with the +@roff_prof@.Dq prof.active +@roff_prof@mallctl. +@roff_prof@This option is enabled by default. @roff_prof@.It F @roff_prof@Profile memory allocation activity, and use an @roff_prof@.Xr atexit 3 @@ -356,6 +366,9 @@ will disable dirty page purging. @roff_prof@.Dq B @roff_prof@option for backtrace depth control. @roff_prof@See the +@roff_prof@.Dq E +@roff_prof@option for on-the-fly activation/deactivation. +@roff_prof@See the @roff_prof@.Dq S @roff_prof@option for probabilistic sampling control. @roff_prof@See the @@ -993,6 +1006,14 @@ Total number of large size classes. Maximum size supported by this large size class. .Ed .\"----------------------------------------------------------------------------- +@roff_prof@.It Sy "prof.active (bool) rw" +@roff_prof@.Bd -ragged -offset indent -compact +@roff_prof@Control whether sampling is currently active. +@roff_prof@See the +@roff_prof@.Dq E +@roff_prof@option for additional information. +@roff_prof@.Ed +.\"----------------------------------------------------------------------------- @roff_prof@.It Sy "prof.dump (const char *) -w" @roff_prof@.Bd -ragged -offset indent -compact @roff_prof@Dump a memory profile to the specified file, or if NULL is specified, |