mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-08-25 16:43:33 +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
|
|
@ -597,8 +597,6 @@ malloc_conf_init(void)
|
|||
if (config_prof) {
|
||||
CONF_HANDLE_BOOL(prof)
|
||||
CONF_HANDLE_CHAR_P(prof_prefix, "jeprof")
|
||||
CONF_HANDLE_SIZE_T(lg_prof_bt_max, 0,
|
||||
LG_PROF_BT_MAX)
|
||||
CONF_HANDLE_BOOL(prof_active)
|
||||
CONF_HANDLE_SSIZE_T(lg_prof_sample, 0,
|
||||
(sizeof(uint64_t) << 3) - 1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue