f7d46b8119
Existing backtrace implementations skip native stack frames from runtimes like Python. The hook allows to augment the backtraces to attribute allocations to native functions in heap profiles.
7 lines
104 B
Bash
7 lines
104 B
Bash
#!/bin/sh
|
|
|
|
if [ "x${enable_prof}" = "x1" ] ; then
|
|
export MALLOC_CONF="prof:true,lg_prof_sample:0"
|
|
fi
|
|
|