mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-08-01 16:10:30 +03:00
Enable heap profiling on MacOS
This commit is contained in:
parent
11038ff762
commit
4b555c11a5
4 changed files with 139 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue