Lines Matching refs:DEBUG
50 #define DEBUG(X) \ macro
53 #define DEBUG(X) \ macro
160 #ifdef DEBUG
560 DEBUG(reportNumber("NumLeafNodes = ", NumLeafNodes, 10)); in FunctionDescription()
565 DEBUG(reportNumber("NumEdges = ", NumEdges, 10)); in FunctionDescription()
572 DEBUG(reportNumber("NumCalls = ", NumCalls, 10)); in FunctionDescription()
579 DEBUG(reportNumber("NumEntryNodes = ", NumEntryNodes, 10)); in FunctionDescription()
819 DEBUG(reportNumber("G = 0x", (uint64_t)this, 16)); in Graph()
841 DEBUG(report("No nodes!\n")); in Graph()
848 DEBUG(reportNumber("NumNodes = ", MaxNodes, 10)); in Graph()
854 DEBUG(reportNumber("G->CFGNodes = 0x", (uint64_t)CFGNodes, 16)); in Graph()
856 DEBUG(reportNumber("G->SpanningTreeNodes = 0x", in Graph()
992 DEBUG(reportNumber("Registering call in node ", D.Calls[I].FromNode, 10)); in NodeToCallsMap()
1022 DEBUG(reportNumber(" Setting freq for call ID: ", CallID, 10)); in visitAllCallsIn()
1026 DEBUG(reportNumber(" with : ", Freq, 10)); in visitAllCallsIn()
1031 DEBUG(reportNumber(" with (private counter) : ", CounterVal, 10)); in visitAllCallsIn()
1033 DEBUG(reportNumber(" Address: 0x", CallDesc.TargetAddress, 16)); in visitAllCallsIn()
1077 DEBUG({ in computeEdgeFrequencies()
1086 DEBUG({ in computeEdgeFrequencies()
1098 DEBUG(report("Empty stack!\n")); in computeEdgeFrequencies()
1123 DEBUG({ in computeEdgeFrequencies()
1163 DEBUG({ in computeEdgeFrequencies()
1171 DEBUG( in computeEdgeFrequencies()
1173 DEBUG(reportNumber(" with: ", CurNodeFreq, 10)); in computeEdgeFrequencies()
1199 DEBUG(dumpEdgeFreqs()); in computeEdgeFrequencies()
1200 DEBUG(report("WARNING: incorrect flow")); in computeEdgeFrequencies()
1203 DEBUG(reportNumber(" Setting freq for ParentEdge: ", ParentEdge, 10)); in computeEdgeFrequencies()
1204 DEBUG(reportNumber(" with ParentEdgeFreq: ", ParentEdgeFreq, 10)); in computeEdgeFrequencies()
1214 DEBUG(dumpEdgeFreqs()); in computeEdgeFrequencies()
1259 DEBUG(G->dump()); in writeFunctionProfile()
1327 DEBUG(reportNumber("Target func 0x", Entry.Key, 16)); in visitIndCallCounter()
1328 DEBUG(reportNumber("Target freq: ", Entry.Val, 10)); in visitIndCallCounter()
1334 DEBUG(report("Failed to lookup indirect call target\n")); in visitIndCallCounter()
1358 DEBUG(reportNumber("IndCallsite #", I, 10)); in writeIndirectCallProfile()
1368 DEBUG(reportNumber("Call flow entry address: 0x", Entry.Key, 16)); in visitCallFlowEntry()
1369 DEBUG(reportNumber("Calls: ", Entry.Calls, 10)); in visitCallFlowEntry()
1370 DEBUG(reportNumber("Reported entry frequency: ", Entry.Val, 10)); in visitCallFlowEntry()
1371 DEBUG({ in visitCallFlowEntry()
1377 DEBUG(reportNumber( in visitCallFlowEntry()
1384 DEBUG(report("WARNING: failed to look up call target!\n")); in visitCallFlowEntry()
1469 DEBUG(printStats(Ctx)); in __bolt_instr_data_dump()
1478 DEBUG(reportNumber("FuncDesc now: ", (uint64_t)FuncDesc, 16)); in __bolt_instr_data_dump()
1492 DEBUG(report("Finished writing profile.\n")); in __bolt_instr_data_dump()
1538 DEBUG(report("My parent process is dead, bye!\n")); in watchProcess()
1552 DEBUG(reportNumber("replace mmap start: ", CountersStart, 16)); in __bolt_instr_setup()
1553 DEBUG(reportNumber("replace mmap stop: ", CountersEnd, 16)); in __bolt_instr_setup()
1626 DEBUG(report("Finished.\n")); in __bolt_instr_fini()
1644 DEBUG(reportNumber("FuncDesc now: ", (uint64_t)FuncDesc, 16)); in __bolt_instr_data_dump()