mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-08-21 14:53:49 +03:00
Add the --disable-thp option to support cross compiling.
This resolves #669.
This commit is contained in:
parent
bf6673a070
commit
c606a87d2a
8 changed files with 53 additions and 14 deletions
|
|
@ -73,6 +73,7 @@ CTL_PROTO(config_prof)
|
|||
CTL_PROTO(config_prof_libgcc)
|
||||
CTL_PROTO(config_prof_libunwind)
|
||||
CTL_PROTO(config_stats)
|
||||
CTL_PROTO(config_thp)
|
||||
CTL_PROTO(config_utrace)
|
||||
CTL_PROTO(config_xmalloc)
|
||||
CTL_PROTO(opt_abort)
|
||||
|
|
@ -263,6 +264,7 @@ static const ctl_named_node_t config_node[] = {
|
|||
{NAME("prof_libgcc"), CTL(config_prof_libgcc)},
|
||||
{NAME("prof_libunwind"), CTL(config_prof_libunwind)},
|
||||
{NAME("stats"), CTL(config_stats)},
|
||||
{NAME("thp"), CTL(config_thp)},
|
||||
{NAME("utrace"), CTL(config_utrace)},
|
||||
{NAME("xmalloc"), CTL(config_xmalloc)}
|
||||
};
|
||||
|
|
@ -1544,6 +1546,7 @@ CTL_RO_CONFIG_GEN(config_prof, bool)
|
|||
CTL_RO_CONFIG_GEN(config_prof_libgcc, bool)
|
||||
CTL_RO_CONFIG_GEN(config_prof_libunwind, bool)
|
||||
CTL_RO_CONFIG_GEN(config_stats, bool)
|
||||
CTL_RO_CONFIG_GEN(config_thp, bool)
|
||||
CTL_RO_CONFIG_GEN(config_utrace, bool)
|
||||
CTL_RO_CONFIG_GEN(config_xmalloc, bool)
|
||||
|
||||
|
|
|
|||
|
|
@ -725,6 +725,7 @@ stats_general_print(void (*write_cb)(void *, const char *), void *cbopaque,
|
|||
CONFIG_WRITE_BOOL_JSON(prof_libgcc, ",")
|
||||
CONFIG_WRITE_BOOL_JSON(prof_libunwind, ",")
|
||||
CONFIG_WRITE_BOOL_JSON(stats, ",")
|
||||
CONFIG_WRITE_BOOL_JSON(thp, ",")
|
||||
CONFIG_WRITE_BOOL_JSON(utrace, ",")
|
||||
CONFIG_WRITE_BOOL_JSON(xmalloc, "")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue