sysperfana/perfinvestigator/com.nokia.carbide.cpp.pi.call/src/com/nokia/carbide/cpp/pi/call/GfcTrace.java
changeset 12 ae255c9aa552
parent 5 844b047e260d
equal deleted inserted replaced
11:5b9d4d8641ce 12:ae255c9aa552
   210 			&& gSam.getCallerFunctionItt() != null) //$NON-NLS-1$
   210 			&& gSam.getCallerFunctionItt() != null) //$NON-NLS-1$
   211 		{
   211 		{
   212 			caller.functionName = gSam.getCallerFunctionItt().getFunctionName();
   212 			caller.functionName = gSam.getCallerFunctionItt().getFunctionName();
   213     		caller.startAdress  = gSam.getCallerFunctionItt().getStartAddress();
   213     		caller.startAdress  = gSam.getCallerFunctionItt().getStartAddress();
   214 			caller.binaryName   = gSam.getCallerFunctionItt().getFunctionBinary().getBinaryName();
   214 			caller.binaryName   = gSam.getCallerFunctionItt().getFunctionBinary().getBinaryName();
   215 			caller.symbolParsed = false;
   215 			caller.symbolParsed = Boolean.FALSE;
   216 		}
   216 		}
   217 		else
   217 		else
   218 		{
   218 		{
   219 			caller.functionName = gSam.getCallerFunctionSym().getFunctionName();
   219 			caller.functionName = gSam.getCallerFunctionSym().getFunctionName();
   220 			caller.startAdress  = gSam.getCallerFunctionSym().getStartAddress();
   220 			caller.startAdress  = gSam.getCallerFunctionSym().getStartAddress();
   221 			caller.binaryName   = gSam.getCallerFunctionSym().getFunctionBinary().getBinaryName();
   221 			caller.binaryName   = gSam.getCallerFunctionSym().getFunctionBinary().getBinaryName();
   222 			caller.symbolParsed = Boolean.valueOf(true);
   222 			caller.symbolParsed = Boolean.TRUE;
   223 		}
   223 		}
   224 		
   224 		
   225 		if (   (gSam.getCurrentFunctionSym() == null || gSam.getCurrentFunctionSym().getFunctionName().endsWith(Messages.getString("GfcTrace.functionNotFound"))) //$NON-NLS-1$
   225 		if (   (gSam.getCurrentFunctionSym() == null || gSam.getCurrentFunctionSym().getFunctionName().endsWith(Messages.getString("GfcTrace.functionNotFound"))) //$NON-NLS-1$
   226 			&& gSam.getCurrentFunctionItt() != null) //$NON-NLS-1$
   226 			&& gSam.getCurrentFunctionItt() != null) //$NON-NLS-1$
   227 		{
   227 		{
   228 			callee.functionName = gSam.getCurrentFunctionItt().getFunctionName();
   228 			callee.functionName = gSam.getCurrentFunctionItt().getFunctionName();
   229     		callee.startAdress  = gSam.getCurrentFunctionItt().getStartAddress();
   229     		callee.startAdress  = gSam.getCurrentFunctionItt().getStartAddress();
   230 			callee.binaryName   = gSam.getCurrentFunctionItt().getFunctionBinary().getBinaryName();
   230 			callee.binaryName   = gSam.getCurrentFunctionItt().getFunctionBinary().getBinaryName();
   231 			callee.symbolParsed = Boolean.valueOf(false);
   231 			callee.symbolParsed = Boolean.FALSE;
   232 		}
   232 		}
   233 		else
   233 		else
   234 		{
   234 		{
   235 			callee.functionName = gSam.getCurrentFunctionSym().getFunctionName();
   235 			callee.functionName = gSam.getCurrentFunctionSym().getFunctionName();
   236     		callee.startAdress  = gSam.getCurrentFunctionSym().getStartAddress();
   236     		callee.startAdress  = gSam.getCurrentFunctionSym().getStartAddress();
   237 			callee.binaryName   = gSam.getCurrentFunctionSym().getFunctionBinary().getBinaryName();
   237 			callee.binaryName   = gSam.getCurrentFunctionSym().getFunctionBinary().getBinaryName();
   238 			callee.symbolParsed = Boolean.valueOf(true);
   238 			callee.symbolParsed = Boolean.TRUE;
   239 		}
   239 		}
   240 
   240 
   241 		this.updateEntryLists(sample, programCounter, linkRegister, caller, callee);
   241 		this.updateEntryLists(sample, programCounter, linkRegister, caller, callee);
   242   	}
   242   	}
   243 
   243