mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-08-24 16:13:38 +03:00
Remove the opt.lg_prof_bt_max option.
Remove opt.lg_prof_bt_max, and hard code it to 7. The original intention of this option was to enable faster backtracing by limiting backtrace depth. However, this makes graphical pprof output very difficult to interpret. In practice, decreasing sampling frequency is a better mechanism for limiting profiling overhead.
This commit is contained in:
parent
0b526ff94d
commit
5389146191
6 changed files with 18 additions and 61 deletions
|
|
@ -930,8 +930,6 @@ malloc_conf = "xmalloc:true";]]></programlisting>
|
|||
where <literal><prefix></literal> is controlled by the <link
|
||||
linkend="opt.prof_prefix"><mallctl>opt.prof_prefix</mallctl></link>
|
||||
option. See the <link
|
||||
linkend="opt.lg_prof_bt_max"><mallctl>opt.lg_prof_bt_max</mallctl></link>
|
||||
option for backtrace depth control. See the <link
|
||||
linkend="opt.prof_active"><mallctl>opt.prof_active</mallctl></link>
|
||||
option for on-the-fly activation/deactivation. See the <link
|
||||
linkend="opt.lg_prof_sample"><mallctl>opt.lg_prof_sample</mallctl></link>
|
||||
|
|
@ -962,17 +960,6 @@ malloc_conf = "xmalloc:true";]]></programlisting>
|
|||
<filename>jeprof</filename>.</para></listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="opt.lg_prof_bt_max">
|
||||
<term>
|
||||
<mallctl>opt.lg_prof_bt_max</mallctl>
|
||||
(<type>size_t</type>)
|
||||
<literal>r-</literal>
|
||||
[<option>--enable-prof</option>]
|
||||
</term>
|
||||
<listitem><para>Maximum backtrace depth (log base 2) when profiling
|
||||
memory allocation activity. The default is 128 (2^7).</para></listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="opt.prof_active">
|
||||
<term>
|
||||
<mallctl>opt.prof_active</mallctl>
|
||||
|
|
@ -1067,9 +1054,6 @@ malloc_conf = "xmalloc:true";]]></programlisting>
|
|||
<citerefentry><refentrytitle>atexit</refentrytitle>
|
||||
<manvolnum>3</manvolnum></citerefentry> function to report memory leaks
|
||||
detected by allocation sampling. See the
|
||||
<link
|
||||
linkend="opt.lg_prof_bt_max"><mallctl>opt.lg_prof_bt_max</mallctl></link>
|
||||
option for backtrace depth control. See the
|
||||
<link linkend="opt.prof"><mallctl>opt.prof</mallctl></link> option for
|
||||
information on analyzing heap profile output. This option is disabled
|
||||
by default.</para></listitem>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue