diff options
author | Jason Evans <je@facebook.com> | 2010-10-24 06:43:37 (GMT) |
---|---|---|
committer | Jason Evans <je@facebook.com> | 2010-10-24 06:43:37 (GMT) |
commit | 49d0293c885aa2b946ad2b1e2c0cc481b68f5604 (patch) | |
tree | c1ffa040ac99a5cada582dc7a3a8eb5cec9e62c7 /jemalloc/src | |
parent | e73397062ac3ab28a9d377591b63ed19fd154cca (diff) | |
download | jemalloc-49d0293c885aa2b946ad2b1e2c0cc481b68f5604.zip jemalloc-49d0293c885aa2b946ad2b1e2c0cc481b68f5604.tar.gz jemalloc-49d0293c885aa2b946ad2b1e2c0cc481b68f5604.tar.bz2 |
Add missing #ifdef JEMALLOC_PROF.
Only call prof_boot0() if profiling is enabled.
Diffstat (limited to 'jemalloc/src')
-rw-r--r-- | jemalloc/src/jemalloc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/jemalloc/src/jemalloc.c b/jemalloc/src/jemalloc.c index 012c4a8..2aebc51 100644 --- a/jemalloc/src/jemalloc.c +++ b/jemalloc/src/jemalloc.c @@ -623,7 +623,9 @@ malloc_init_hard(void) } #endif +#ifdef JEMALLOC_PROF prof_boot0(); +#endif malloc_conf_init(); |