Deleted Added
full compact
ctl.c (234370) ctl.c (234543)
1#define JEMALLOC_CTL_C_
2#include "jemalloc/internal/jemalloc_internal.h"
3
4/******************************************************************************/
5/* Data. */
6
7/*
8 * ctl_mtx protects the following:

--- 66 unchanged lines hidden (view full) ---

75CTL_PROTO(opt_tcache)
76CTL_PROTO(opt_lg_tcache_max)
77CTL_PROTO(opt_prof)
78CTL_PROTO(opt_prof_prefix)
79CTL_PROTO(opt_prof_active)
80CTL_PROTO(opt_lg_prof_sample)
81CTL_PROTO(opt_lg_prof_interval)
82CTL_PROTO(opt_prof_gdump)
1#define JEMALLOC_CTL_C_
2#include "jemalloc/internal/jemalloc_internal.h"
3
4/******************************************************************************/
5/* Data. */
6
7/*
8 * ctl_mtx protects the following:

--- 66 unchanged lines hidden (view full) ---

75CTL_PROTO(opt_tcache)
76CTL_PROTO(opt_lg_tcache_max)
77CTL_PROTO(opt_prof)
78CTL_PROTO(opt_prof_prefix)
79CTL_PROTO(opt_prof_active)
80CTL_PROTO(opt_lg_prof_sample)
81CTL_PROTO(opt_lg_prof_interval)
82CTL_PROTO(opt_prof_gdump)
83CTL_PROTO(opt_prof_final)
83CTL_PROTO(opt_prof_leak)
84CTL_PROTO(opt_prof_accum)
85CTL_PROTO(arenas_bin_i_size)
86CTL_PROTO(arenas_bin_i_nregs)
87CTL_PROTO(arenas_bin_i_run_size)
88INDEX_PROTO(arenas_bin_i)
89CTL_PROTO(arenas_lrun_i_size)
90INDEX_PROTO(arenas_lrun_i)

--- 114 unchanged lines hidden (view full) ---

205 {NAME("tcache"), CTL(opt_tcache)},
206 {NAME("lg_tcache_max"), CTL(opt_lg_tcache_max)},
207 {NAME("prof"), CTL(opt_prof)},
208 {NAME("prof_prefix"), CTL(opt_prof_prefix)},
209 {NAME("prof_active"), CTL(opt_prof_active)},
210 {NAME("lg_prof_sample"), CTL(opt_lg_prof_sample)},
211 {NAME("lg_prof_interval"), CTL(opt_lg_prof_interval)},
212 {NAME("prof_gdump"), CTL(opt_prof_gdump)},
84CTL_PROTO(opt_prof_leak)
85CTL_PROTO(opt_prof_accum)
86CTL_PROTO(arenas_bin_i_size)
87CTL_PROTO(arenas_bin_i_nregs)
88CTL_PROTO(arenas_bin_i_run_size)
89INDEX_PROTO(arenas_bin_i)
90CTL_PROTO(arenas_lrun_i_size)
91INDEX_PROTO(arenas_lrun_i)

--- 114 unchanged lines hidden (view full) ---

206 {NAME("tcache"), CTL(opt_tcache)},
207 {NAME("lg_tcache_max"), CTL(opt_lg_tcache_max)},
208 {NAME("prof"), CTL(opt_prof)},
209 {NAME("prof_prefix"), CTL(opt_prof_prefix)},
210 {NAME("prof_active"), CTL(opt_prof_active)},
211 {NAME("lg_prof_sample"), CTL(opt_lg_prof_sample)},
212 {NAME("lg_prof_interval"), CTL(opt_lg_prof_interval)},
213 {NAME("prof_gdump"), CTL(opt_prof_gdump)},
214 {NAME("prof_final"), CTL(opt_prof_final)},
213 {NAME("prof_leak"), CTL(opt_prof_leak)},
214 {NAME("prof_accum"), CTL(opt_prof_accum)}
215};
216
217static const ctl_node_t arenas_bin_i_node[] = {
218 {NAME("size"), CTL(arenas_bin_i_size)},
219 {NAME("nregs"), CTL(arenas_bin_i_nregs)},
220 {NAME("run_size"), CTL(arenas_bin_i_run_size)}

--- 896 unchanged lines hidden (view full) ---

1117CTL_RO_NL_CGEN(config_tcache, opt_tcache, opt_tcache, bool)
1118CTL_RO_NL_CGEN(config_tcache, opt_lg_tcache_max, opt_lg_tcache_max, ssize_t)
1119CTL_RO_NL_CGEN(config_prof, opt_prof, opt_prof, bool)
1120CTL_RO_NL_CGEN(config_prof, opt_prof_prefix, opt_prof_prefix, const char *)
1121CTL_RO_CGEN(config_prof, opt_prof_active, opt_prof_active, bool) /* Mutable. */
1122CTL_RO_NL_CGEN(config_prof, opt_lg_prof_sample, opt_lg_prof_sample, size_t)
1123CTL_RO_NL_CGEN(config_prof, opt_lg_prof_interval, opt_lg_prof_interval, ssize_t)
1124CTL_RO_NL_CGEN(config_prof, opt_prof_gdump, opt_prof_gdump, bool)
215 {NAME("prof_leak"), CTL(opt_prof_leak)},
216 {NAME("prof_accum"), CTL(opt_prof_accum)}
217};
218
219static const ctl_node_t arenas_bin_i_node[] = {
220 {NAME("size"), CTL(arenas_bin_i_size)},
221 {NAME("nregs"), CTL(arenas_bin_i_nregs)},
222 {NAME("run_size"), CTL(arenas_bin_i_run_size)}

--- 896 unchanged lines hidden (view full) ---

1119CTL_RO_NL_CGEN(config_tcache, opt_tcache, opt_tcache, bool)
1120CTL_RO_NL_CGEN(config_tcache, opt_lg_tcache_max, opt_lg_tcache_max, ssize_t)
1121CTL_RO_NL_CGEN(config_prof, opt_prof, opt_prof, bool)
1122CTL_RO_NL_CGEN(config_prof, opt_prof_prefix, opt_prof_prefix, const char *)
1123CTL_RO_CGEN(config_prof, opt_prof_active, opt_prof_active, bool) /* Mutable. */
1124CTL_RO_NL_CGEN(config_prof, opt_lg_prof_sample, opt_lg_prof_sample, size_t)
1125CTL_RO_NL_CGEN(config_prof, opt_lg_prof_interval, opt_lg_prof_interval, ssize_t)
1126CTL_RO_NL_CGEN(config_prof, opt_prof_gdump, opt_prof_gdump, bool)
1127CTL_RO_NL_CGEN(config_prof, opt_prof_final, opt_prof_final, bool)
1125CTL_RO_NL_CGEN(config_prof, opt_prof_leak, opt_prof_leak, bool)
1126CTL_RO_NL_CGEN(config_prof, opt_prof_accum, opt_prof_accum, bool)
1127
1128/******************************************************************************/
1129
1130CTL_RO_NL_GEN(arenas_bin_i_size, arena_bin_info[mib[2]].reg_size, size_t)
1131CTL_RO_NL_GEN(arenas_bin_i_nregs, arena_bin_info[mib[2]].nregs, uint32_t)
1132CTL_RO_NL_GEN(arenas_bin_i_run_size, arena_bin_info[mib[2]].run_size, size_t)

--- 253 unchanged lines hidden ---
1128CTL_RO_NL_CGEN(config_prof, opt_prof_leak, opt_prof_leak, bool)
1129CTL_RO_NL_CGEN(config_prof, opt_prof_accum, opt_prof_accum, bool)
1130
1131/******************************************************************************/
1132
1133CTL_RO_NL_GEN(arenas_bin_i_size, arena_bin_info[mib[2]].reg_size, size_t)
1134CTL_RO_NL_GEN(arenas_bin_i_nregs, arena_bin_info[mib[2]].nregs, uint32_t)
1135CTL_RO_NL_GEN(arenas_bin_i_run_size, arena_bin_info[mib[2]].run_size, size_t)

--- 253 unchanged lines hidden ---