diff options
Diffstat (limited to 'deps/jemalloc/test/unit/prof_hook.sh')
-rw-r--r-- | deps/jemalloc/test/unit/prof_hook.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/deps/jemalloc/test/unit/prof_hook.sh b/deps/jemalloc/test/unit/prof_hook.sh new file mode 100644 index 0000000..c7ebd8f --- /dev/null +++ b/deps/jemalloc/test/unit/prof_hook.sh @@ -0,0 +1,6 @@ +#!/bin/sh + +if [ "x${enable_prof}" = "x1" ] ; then + export MALLOC_CONF="prof:true,prof_active:true,lg_prof_sample:0" +fi + |