kerneltest/e32utils/trace/btrace_analyse.cpp
branchRCL_3
changeset 44 3e88ff8f41d5
parent 43 c1f20ce4abcf
--- a/kerneltest/e32utils/trace/btrace_analyse.cpp	Tue Aug 31 16:34:26 2010 +0300
+++ b/kerneltest/e32utils/trace/btrace_analyse.cpp	Wed Sep 01 12:34:56 2010 +0100
@@ -433,7 +433,6 @@
 		CASE_CAT_NAME(EProfiling);
 		CASE_CAT_NAME(ESymbianKernelSync);
 		CASE_CAT_NAME(EFlexibleMemModel);
-		CASE_CAT_NAME(EHSched);
 		CASE_CAT_NAME(ETest1);
 		CASE_CAT_NAME(ETest2);
 		default:
@@ -630,12 +629,6 @@
 			}
 		break;
 
-	case BTrace::EHSched:
-		switch((BTrace::THSched)aSubCategory)
-			{
-		CASE_CAT_NAME(ELbDone);
-			}
-		break;
 		}
 	return UnknownNames[aSubCategory];
 	}
@@ -1397,7 +1390,7 @@
 		{
 	case BTrace::ENanoThreadCreate:
 		CHECK_TRACE_DATA_WORDS(1);
-		Thread::FindOrCreate(aTrace,0);
+		thread = Thread::FindOrCreate(aTrace,0);
 		break;
 
 	case BTrace::ENanoThreadDestroy:
@@ -1437,7 +1430,7 @@
 		CHECK_TRACE_DATA_WORDS(2);
 		if(aTrace.iData[0])
 			{
-			Thread::FindOrCreate(aTrace,0);
+			thread = Thread::FindOrCreate(aTrace,0);
 			process = Process::Find(aTrace.iData[1]);
 			if(!process || (process->iNameLength && !process->IsName(aTrace.iData+2,aTrace.iDataSize-2*4)))
 				{
@@ -1457,13 +1450,13 @@
 	case BTrace::EThreadId:
 		CHECK_TRACE_DATA_WORDS(2);
 		thread = Thread::FindOrCreate(aTrace,0);
-		Process::FindOrCreate(aTrace,1);
+		process = Process::FindOrCreate(aTrace,1);
 		thread->iId = aTrace.iData[2];
 		break;
 
 	case BTrace::EProcessCreate:
 		CHECK_TRACE_DATA_WORDS(1);
-		Process::FindOrCreate(aTrace,0);
+		process = Process::FindOrCreate(aTrace,0);
 		break;
 
 	case BTrace::EProcessDestroy:
@@ -1894,7 +1887,7 @@
 
 	case BTrace::ECodeSegMapped:
 		CHECK_TRACE_DATA_WORDS(2);
-		CodeSeg::FindOrCreate(aTrace,0);
+		codeseg = CodeSeg::FindOrCreate(aTrace,0);
 		Process::FindOrCreate(aTrace,1);
 		break;
 
@@ -2542,22 +2535,6 @@
 	printf("\n");
 	}
 
-
-void PreProcessHSched(TraceRecord& aTrace)
-	{
-	switch((BTrace::THSched)aTrace.iSubCategory)
-		{
-		case BTrace::ELbDone:
-			{
-			CHECK_TRACE_DATA_WORDS(2);
-			Thread::Find(aTrace, 0);
-			break;
-			}
-		}
-	}
-
-
-
 //
 // Trace processing
 //
@@ -2747,8 +2724,6 @@
 		PreProcessProfiling(aTrace); break;
 	case BTrace::ESymbianKernelSync:
 		PreProcessSymbianKernelSync(aTrace); break;
-	case BTrace::EHSched:
-		PreProcessHSched(aTrace); break;
 	default:
 		break;
 		}