mirror of
https://github.com/gigablast/open-source-search-engine.git
synced 2024-10-04 12:17:35 +03:00
nothing
This commit is contained in:
parent
06f756eef2
commit
83f8b74632
@ -1490,12 +1490,16 @@ Profiler::getStackFrame(int sig) {
|
||||
// using awk i guess.
|
||||
//g_profiler.m_ipLineBuf.pushLongLong((uint64_t)trace[2]);
|
||||
|
||||
// now just store the Instruction Ptrs into a count hashtable
|
||||
// . now just store the Instruction Ptrs into a count hashtable
|
||||
// . skip ahead 2 to avoid the sigalrm function handler
|
||||
for ( int32_t i = 2 ; i < numFrames ; i++ ) {
|
||||
|
||||
// even if we are 32-bit, make this 64-bit for ease
|
||||
uint64_t addr = (uint64_t)(PTRTYPE)trace[i];
|
||||
|
||||
//if ( addr > 0xf0000000 )
|
||||
//log("profiler: %i) addr = %llx",i,(unsigned long long)addr);
|
||||
|
||||
// the call stack path for profiling the worst paths
|
||||
g_profiler.m_ipBuf.pushLongLong(addr);
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user