mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-04-23 03:12:11 +03:00
Added support for building with prof. (#1)
This commit is contained in:
parent
8949bbe68a
commit
48e68dfc84
9 changed files with 191 additions and 56 deletions
|
|
@ -322,11 +322,14 @@ configure_header(
|
|||
define_macro_if("JEMALLOC_STATS", "//settings/flags:stats") |
|
||||
# JEMALLOC_EXPERIMENTAL_SMALLOCX_API: Configurable flag
|
||||
define_macro_if("JEMALLOC_EXPERIMENTAL_SMALLOCX_API", "//settings/flags:experimental_smallocx_api") |
|
||||
# JEMALLOC_PROF and related: Assume off by default, not critical for core functionality
|
||||
undefine_macro("JEMALLOC_PROF_LIBUNWIND") |
|
||||
undefine_macro("JEMALLOC_PROF_LIBGCC") |
|
||||
undefine_macro("JEMALLOC_PROF_GCC") |
|
||||
undefine_macro("JEMALLOC_PROF") |
|
||||
# JEMALLOC_PROF_LIBGCC: Configurable flag
|
||||
define_macro_if("JEMALLOC_PROF_LIBGCC", "//settings/flags:prof_libgcc") |
|
||||
# JEMALLOC_PROF_GCC: Configurable flag
|
||||
define_macro_if("JEMALLOC_PROF_GCC", "//settings/flags:prof_gcc") |
|
||||
# JEMALLOC_PROF_LIBUNWIND: Configurable flag
|
||||
define_macro_if("JEMALLOC_PROF_LIBUNWIND", "//settings/flags:prof_libunwind") |
|
||||
# JEMALLOC_PROF: Configurable flag
|
||||
define_macro_if("JEMALLOC_PROF", "//settings/flags:prof") |
|
||||
# JEMALLOC_DSS: sbrk(2) deprecated on macOS, disable
|
||||
define_macro_if_any(
|
||||
"JEMALLOC_DSS",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue