CALLTRACE: bug fix - callstack of calltrace is not shown 27/26827/1
authorwoojin <woojin2.jung@samsung.com>
Fri, 29 Aug 2014 01:27:12 +0000 (10:27 +0900)
committerwoojin <woojin2.jung@samsung.com>
Fri, 29 Aug 2014 01:27:12 +0000 (10:27 +0900)
revert code of tainting data of calltrace table
change index of time column for windowing table(calltrace)

Change-Id: I25ce4fd7123e6185162a0e89a52ce75b3077f5cb
Signed-off-by: woojin <woojin2.jung@samsung.com>
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/timeline/calltrace/CallTraceTable.java

index 8e4f572..51e616d 100644 (file)
@@ -52,7 +52,7 @@ public class CallTraceTable extends DAWindowingTableComposite {
 
        public CallTraceTable(Composite parent, int compStyle, int tableStyle) {
                super(parent, compStyle, tableStyle);
-               setDataType(false, 0); // use new DB
+               setDataType(false, FunctionEntryDBTable.COLUMN.STARTTIME.index); // use new DB
                setContextMenu(AnalyzerConstants.CONTEXT_TABLE_SOURCE
                                | AnalyzerConstants.CONTEXT_TABLE_RANGE);
 
@@ -113,7 +113,6 @@ public class CallTraceTable extends DAWindowingTableComposite {
                        DATableDataFormat tableData = new DATableDataFormat(
                                        (Long) rowData.get(FunctionEntryDBTable.COLUMN.SEQ.index));
                        // tableData.setLogData(logData);
-                       rowData.set(0, time);
                        tableData.getData().addAll(rowData);
                        tableData.setType(AnalyzerConstants.TYPE_TABLE_CALLTRACE);