mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-23 13:13:06 +00:00
Enable heap profiling on MacOS
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ "x${enable_prof}" = "x1" ] ; then
|
||||
export MALLOC_CONF="prof:true,prof_active:false,prof_gdump:true"
|
||||
export MALLOC_CONF="prof:true,prof_active:false,prof_gdump:true,lg_prof_sample:0"
|
||||
fi
|
||||
|
||||
|
||||
@@ -166,6 +166,7 @@ expect_maps_write_failure(int count) {
|
||||
TEST_BEGIN(test_mdump_maps_error) {
|
||||
test_skip_if(!config_prof);
|
||||
test_skip_if(!config_debug);
|
||||
test_skip_if(prof_dump_open_maps == NULL);
|
||||
|
||||
prof_dump_open_file_t *open_file_orig = prof_dump_open_file;
|
||||
prof_dump_write_file_t *write_file_orig = prof_dump_write_file;
|
||||
|
||||
Reference in New Issue
Block a user