profiler fix

This commit is contained in:
Matt Wells 2015-09-02 13:45:13 -07:00
parent 1cce6d510e
commit 8d69b6a867

View File

@ -1463,6 +1463,9 @@ Profiler::getStackFrame(int sig) {
// somewhere. but for now just ignore.
if ( g_inMemcpy ) return;
// likewise, not if in system malloc since backtrace() mallocs
if ( g_inMemFunction ) return;
//void *trace[32];
// the innermost line number