public final static int TYPE_TABLE_NORMAL = 0x0010;\r
public final static int TYPE_TABLE_CALLTRACE = 0x0020;\r
\r
+ public final static String CALLSTACK_KEY_PID = "pid";//$NON-NLS-1$\r
+ public final static String CALLSTACK_KEY_ADDR = "address";//$NON-NLS-1$\r
+ public final static String CALLSTACK_KEY_TIME = "time";//$NON-NLS-1$\r
+ \r
+ public final static int SASH_WIDTH = 4;\r
}\r
\r
switch (tableData.getType()) {\r
case AnalyzerConstants.TYPE_TABLE_CALLSTACK:\r
- addr = (Long) tableData.getObject();\r
+ addr = (Long) item.getData(AnalyzerConstants.CALLSTACK_KEY_ADDR);\r
+ pid = (Integer) item.getData(AnalyzerConstants.CALLSTACK_KEY_PID);\r
+ time = (Long) item.getData(AnalyzerConstants.CALLSTACK_KEY_TIME);\r
break;\r
case AnalyzerConstants.TYPE_TABLE_FAILED:\r
List<String> failedData = tableData.getData();\r
if (data instanceof UserFunctionData) {\r
addr = ((UserFunctionData) data).getCallerPcAddr();\r
} else if (data instanceof ProfileData) {\r
- addr = ((ProfileData) data).getPcAddr();\r
+// addr = ((ProfileData) data).getPcAddr();\r
// config\r
- // addr = ((ProfileData) data).getCallerPcAddr();\r
+ addr = ((ProfileData) data).getCallerPcAddr();\r
}\r
pid = data.getPid();\r
time = data.getTime();\r
prep.setLong(8, data.getAddr());
prep.setLong(9, data.getCallerPc());
prep.setString(10, data.getParam());
- prep.setLong(11, data.getRet());
+ prep.setString(11, data.getRet());
prep.setString(12, data.getLibName());
prep.setInt(13, data.getKey());
prep.setInt(14, data.getParentKey());
prep.setLong(4, data.getTime());
prep.setString(5, data.getName());
prep.setString(6, data.getArgs());
- prep.setLong(7, data.getReturn());
+ prep.setString(7, data.getReturn());
prep.setLong(8, data.getErrorCode());
prep.setLong(9, data.getCallerPc());
prep.setInt(10, data.getPid());
import org.tizen.dynamicanalyzer.logparser.LogInserter;
import org.tizen.dynamicanalyzer.model.ImageInfo;
import org.tizen.dynamicanalyzer.swap.channel.data.DataChannelConstants;
-import org.tizen.dynamicanalyzer.swap.channel.data.ProcessInfo;
-import org.tizen.dynamicanalyzer.swap.channel.data.ProcessInfoPackage;
import org.tizen.dynamicanalyzer.swap.model.data.ContextSwitchData;
import org.tizen.dynamicanalyzer.swap.model.data.LogData;
-import org.tizen.dynamicanalyzer.swap.model.data.ProbeCommonData;
import org.tizen.dynamicanalyzer.swap.model.data.ProfileData;
import org.tizen.dynamicanalyzer.swap.model.data.ReplayData;
import org.tizen.dynamicanalyzer.swap.model.data.ScreenShotData;
private int DEFAULT_IMG_WIDTH = 480;
private int DEFAULT_IMG_HEIGHT = 800;
- /** thread **/
- private int pid = -1;
-
public static LogQueue getLogQueue() {
if (null == logQueue) {
logQueue = new LogQueue();
}
LogData log = logLumb.get(i);
int id = log.getId();
-
- // check main process!!
- // TODO : multi process processing
- if (log instanceof ProbeCommonData) {
- // if (-1 == pid) {
- // pid = ((ProbeCommonData) log).getPid();
- // } else {
- // int p = ((ProbeCommonData) log).getPid();
- // if (pid != p) {
- // continue;
- // }
- // }
-
- ProbeCommonData common = ((ProbeCommonData) log);
- System.out.println("internal call : "
- + common.getInternalCall() + " api : "
- + common.getApiName());
- }
int seqNum = log.getSeq();
if (log instanceof SystemData) {
continue;
}
- ProcessInfoPackage processInfoPkg = AnalyzerManager
- .getProject().getProcessInfo(pData.getPid());
- ProcessInfo processInfo = processInfoPkg
- .getProcessInfo(pData.getTime());
+// ProcessInfoPackage processInfoPkg = AnalyzerManager
+// .getProject().getProcessInfo(pData.getPid());
+// ProcessInfo processInfo = processInfoPkg
+// .getProcessInfo(pData.getTime());
// for debug
// System.out.println(" PROFILE LOG DEBUG = ID: "
this.args = args;
}
- public String getHexReturn() {
- return AnalyzerUtil.toHexdecimal(ret);
+ public String getReturn() {
+ String retStr = null;
+ if (ret < 0x10000000) {
+ retStr = Long.toString(ret);
+ } else {
+ retStr = AnalyzerUtil.toHexdecimal(ret);
+ }
+ return retStr;
}
- public long getReturn() {
+ public long getOriginalReturn() {
return ret;
}
contentText.add(contentTemp.getArgs());
contentData.add(contentTemp.getArgs());
- if(contentTemp.getReturn() > 999999999){
- contentText.add(contentTemp.getHexReturn());
- }else{
- contentText.add(Long.toString(contentTemp.getReturn()));
- }
- contentData.add(Long.toString(contentTemp.getReturn()));
-
-
+ contentText.add(contentTemp.getReturn());
+ contentData.add(contentTemp.getReturn());
String errMsg = ErrorCodeManager.getInatance()
.getErrorCode(contentTemp.getErrno()).name();
import org.eclipse.swt.custom.SashForm;
import org.eclipse.swt.layout.FillLayout;
import org.eclipse.swt.widgets.Composite;
+import org.tizen.dynamicanalyzer.common.AnalyzerConstants;
import org.tizen.dynamicanalyzer.nl.AnalyzerLabels;
import org.tizen.dynamicanalyzer.shortcut.ShortCutManager;
import org.tizen.dynamicanalyzer.ui.info.callstack.CallstackView;
public FilePage(Composite parent, int style) {
super(parent, style);
name = AnalyzerLabels.COOLBAR_AREA_FILE;
- this.setData(DAPageComposite.KEY_TOOLTIP, ShortCutManager.COOLBAR_AREA_FILE_TOOLTIP);
+ this.setData(DAPageComposite.KEY_TOOLTIP,
+ ShortCutManager.COOLBAR_AREA_FILE_TOOLTIP);
this.setLayout(new FillLayout());
baseForm = new SashForm(this, SWT.HORIZONTAL);
baseForm.setLayout(new FillLayout());
leftForm = new SashForm(baseForm, SWT.VERTICAL);
+
FileChartView fileChartView = new FileChartView(leftForm, SWT.NONE);
addView(fileChartView);
FileApiListView fileApiListView = new FileApiListView(leftForm,
leftForm.setWeights(new int[] { 60, 40 });
rightForm = new SashForm(baseForm, SWT.VERTICAL);
+
DATabComposite tabView = new DATabComposite(rightForm, SWT.NONE);
addView(tabView);
{
rightForm.setWeights(new int[] { 50, 50 });
baseForm.setWeights(new int[] { 75, 25 });
+
+ baseForm.setSashWidth(AnalyzerConstants.SASH_WIDTH);
+ leftForm.setSashWidth(AnalyzerConstants.SASH_WIDTH);
+ rightForm.setSashWidth(AnalyzerConstants.SASH_WIDTH);
}
@Override
.setType(AnalyzerConstants.TYPE_TABLE_CALLSTACK);
callstackTableData.setObject(address);
gridItem.setData(callstackTableData);
+ gridItem.setData(AnalyzerConstants.CALLSTACK_KEY_ADDR, address);
+ gridItem.setData(AnalyzerConstants.CALLSTACK_KEY_PID, logData.getPid());
+ gridItem.setData(AnalyzerConstants.CALLSTACK_KEY_TIME, logData.getTime());
}
String addrInput = (addrs.get(i) == 0) ? "" : addr; //$NON-NLS-1$
contentText.add(contentTemp.getArgs());
contentData.add(contentTemp.getArgs());
- if(contentTemp.getReturn() > 999999999){
- contentText.add(contentTemp.getHexReturn());
- }else{
- contentText.add(Long.toString(contentTemp.getReturn()));
- }
- contentData.add(Long.toString(contentTemp.getReturn()));
+ contentText.add(contentTemp.getReturn());
+ contentData.add(contentTemp.getReturn());
int apiType = contentTemp.getFdApiType();
if (apiType == LogCenterConstants.SOCKET_API_SEND_END
}
contentText.add(errMsg);
contentData.add(errMsg);
- contentText.add(Long.toString(contentTemp.getReturn()));
- contentData.add(Long.toString(contentTemp.getReturn()));
+ contentText.add(contentTemp.getReturn());
+ contentData.add(contentTemp.getReturn());
DATableDataFormat tableData = new DATableDataFormat(
contentTemp.getSeq());
case LogCenterConstants.SOCKET_API_ACCEPT_START:
break;
case LogCenterConstants.SOCKET_API_ACCEPT_END: {
- String clientFD = Long.toString(input.getReturn());
+ String clientFD = input.getReturn();
addressByFdHashMap.put(clientFD, parentAddress);
if (errno != 0) {
NetworkChartDataEvent event = new NetworkChartDataEvent(
System.out.println("input.getArgs() : "+input.getArgs());
break;
case LogCenterConstants.HTTP_API_TRANSACTION_OPEN: {
- String clientFD = Long.toString(input.getReturn());
+ String clientFD = input.getReturn();
String parrentAddress = addressByFdHashMap.get(apiFD);
if (null != parrentAddress) {
apiAddress = parrentAddress;
break;
}
case LogCenterConstants.HTTP_API_ALLOCATION: {
- String clientFD = Long.toString(input.getReturn());
+ String clientFD = input.getReturn();
String parretnFD = parentFDByFdHashMap.get(apiFD);
if (null != parretnFD) {
apiFD = parretnFD;
break;
}
case LogCenterConstants.HTTP_API_RESPONSE: {
- String clientFD = Long.toString(input.getReturn());
+ String clientFD = input.getReturn();
String parretnFD = parentFDByFdHashMap.get(apiFD);
if (null != parretnFD) {
apiFD = parretnFD;
import org.eclipse.swt.custom.SashForm;
import org.eclipse.swt.layout.FillLayout;
import org.eclipse.swt.widgets.Composite;
+import org.tizen.dynamicanalyzer.common.AnalyzerConstants;
import org.tizen.dynamicanalyzer.nl.AnalyzerLabels;
import org.tizen.dynamicanalyzer.shortcut.ShortCutManager;
import org.tizen.dynamicanalyzer.ui.network.NetworkApiListView;
public NetworkPage(Composite parent, int style) {
super(parent, style);
name = AnalyzerLabels.COOLBAR_AREA_NETWORK;
- this.setData(DAPageComposite.KEY_TOOLTIP, ShortCutManager.COOLBAR_AREA_NETWORK_TOOLTIP);
+ this.setData(DAPageComposite.KEY_TOOLTIP,
+ ShortCutManager.COOLBAR_AREA_NETWORK_TOOLTIP);
this.setLayout(new FillLayout());
baseForm = new SashForm(this, SWT.HORIZONTAL);
baseForm.setLayout(new FillLayout());
leftForm = new SashForm(baseForm, SWT.VERTICAL);
- NetworkChartView networkChartView = new NetworkChartView(leftForm, SWT.NONE);
- addView(networkChartView);
- NetworkApiListView networkApiListView = new NetworkApiListView(leftForm,
+ NetworkChartView networkChartView = new NetworkChartView(leftForm,
SWT.NONE);
+ addView(networkChartView);
+ NetworkApiListView networkApiListView = new NetworkApiListView(
+ leftForm, SWT.NONE);
addView(networkApiListView);
leftForm.setWeights(new int[] { 60, 40 });
{
SnapshotView snapshotView = new SnapshotView(
tabView.getContentComposite(), SWT.NONE, false, name);
- snapshotView.setObservingViews(new String[] { NetworkApiListView.ID });
+ snapshotView
+ .setObservingViews(new String[] { NetworkApiListView.ID });
tabView.addView(snapshotView, false);
CallstackView callstack = new CallstackView(
rightForm.setWeights(new int[] { 50, 50 });
baseForm.setWeights(new int[] { 75, 25 });
+
+ baseForm.setSashWidth(AnalyzerConstants.SASH_WIDTH);
+ leftForm.setSashWidth(AnalyzerConstants.SASH_WIDTH);
+ rightForm.setSashWidth(AnalyzerConstants.SASH_WIDTH);
+
}
@Override
import org.tizen.dynamicanalyzer.ui.opengl.ui.chart.GLFrameTimeChart;
import org.tizen.dynamicanalyzer.ui.opengl.ui.context.GLContextTreeTable;
import org.tizen.dynamicanalyzer.ui.timeline.common.TimelineConstants;
-import org.tizen.dynamicanalyzer.utils.AnalyzerUtil;
public class GLDataMaker {
public static final String DELIMITER = "`,";
setContextValueList(seq, GLContextDBEnum.SCISSOR_W.ordinal(), parameters[2]);
setContextValueList(seq, GLContextDBEnum.SCISSOR_H.ordinal(), parameters[3]);
} else if(apiName.equals(API_GL_SHADER_CREATE)) {
- String shaderID = Long.toString(logData.getReturn());
+ String shaderID = logData.getReturn();
shaderIDMap.put(shaderID, shaderID);
shaderTypeMap.put(shaderID, GLConstantMap.getConstantString(parameter));
shaderSourceMap.put(shaderID, SPACE);
return logData.getErrno();
}
- public long getReturnValue() {
+ public String getReturnValue() {
return logData.getReturn();
}
import org.eclipse.swt.custom.SashForm;
import org.eclipse.swt.layout.FillLayout;
import org.eclipse.swt.widgets.Composite;
+import org.tizen.dynamicanalyzer.common.AnalyzerConstants;
import org.tizen.dynamicanalyzer.nl.AnalyzerLabels;
import org.tizen.dynamicanalyzer.shortcut.ShortCutManager;
import org.tizen.dynamicanalyzer.swap.channel.data.DataChannelConstants;
rightForm.setWeights(new int[] { 50, 50 });
baseForm.setWeights(new int[] { 75, 25 });
+
+ baseForm.setSashWidth(AnalyzerConstants.SASH_WIDTH);
+ leftForm.setSashWidth(AnalyzerConstants.SASH_WIDTH);
+ rightForm.setSashWidth(AnalyzerConstants.SASH_WIDTH);
+ bottomForm.setSashWidth(AnalyzerConstants.SASH_WIDTH);
}
@Override
import org.eclipse.swt.custom.SashForm;
import org.eclipse.swt.layout.FillLayout;
import org.eclipse.swt.widgets.Composite;
+import org.tizen.dynamicanalyzer.common.AnalyzerConstants;
import org.tizen.dynamicanalyzer.nl.AnalyzerLabels;
import org.tizen.dynamicanalyzer.shortcut.ShortCutManager;
import org.tizen.dynamicanalyzer.ui.info.callstack.CallstackView;
warningForm, SWT.NONE);
addView(warningDetailView);
warningForm.setWeights(new int[] { 70, 30 });
+
+ baseForm.setSashWidth(AnalyzerConstants.SASH_WIDTH);
+ bottomForm.setSashWidth(AnalyzerConstants.SASH_WIDTH);
+ upperForm.setSashWidth(AnalyzerConstants.SASH_WIDTH);
+ warningForm.setSashWidth(AnalyzerConstants.SASH_WIDTH);
}
@Override
text.add(failedData.getArgs()); // 3
data.add(failedData.getArgs());
- text.add(failedData.getHexReturn()); // 4
- data.add(Long.toString(failedData.getReturn()));
+ text.add(failedData.getReturn()); // 4
+ data.add(failedData.getReturn());
try{
String errCode = ErrorCodeManager.getInatance()
import org.tizen.dynamicanalyzer.swap.model.data.LogData;
import org.tizen.dynamicanalyzer.swap.model.data.ProbeCommonData;
-import org.tizen.dynamicanalyzer.utils.AnalyzerUtil;
public class FailedData {
public static final int ID_INDEX = 1;
private long time = -1;
private String apiName = null;
private String args = null;
- private long ret = -1;
+ private String ret = null;
private long err = -1;
private long callerPc = -1;
private int pid = -1;
time = Long.parseLong(input.get(TIME_INDEX));
apiName = input.get(NAME_INDEX);
args = input.get(ARGS_INDEX);
- ret = Long.parseLong(input.get(RETURN_INDEX));
+ ret = input.get(RETURN_INDEX);
err = Integer.parseInt(input.get(ERROR_INDEX));
callerPc = Long.parseLong(input.get(CALLER_INDEX));
pid = Integer.parseInt(input.get(PID_INDEX));
return args;
}
- public String getHexReturn() {
- return AnalyzerUtil.toHexdecimal(ret);
- }
-
- public long getReturn() {
+ public String getReturn() {
return ret;
}
private long addr = -1;
private long callerPcAddr = -1;
private String param = null;
- private long retValue = -1;
+ private String retValue = null;
private String libName = null;
private int key = -1;
private int parentKey = -1;
addr = Long.parseLong(loadData.get(INDEX_ADDR));
callerPcAddr = Long.parseLong(loadData.get(INDEX_CALLER_PCADDR));
param = loadData.get(INDEX_PARAMETER);
- retValue = Long.parseLong(loadData.get(INDEX_RETURN));
+ retValue = loadData.get(INDEX_RETURN);
libName = loadData.get(INDEX_LIB_NAME);
key = Integer.parseInt(loadData.get(INDEX_KEY));
parentKey = Integer.parseInt(loadData.get(INDEX_PARENT_KEY));
this.param = param;
}
- public long getRet() {
+ public String getRet() {
return retValue;
}
- public String getHexRet() {
- return AnalyzerUtil.toHexdecimal(retValue);
- }
-
- public void setRet(long ret) {
+ public void setRet(String ret) {
this.retValue = ret;
}
import org.tizen.dynamicanalyzer.swap.model.data.ProbeCommonData;
import org.tizen.dynamicanalyzer.ui.info.callstack.CallStackData;
import org.tizen.dynamicanalyzer.ui.info.callstack.CallStackUnit;
+import org.tizen.dynamicanalyzer.utils.AnalyzerUtil;
public class LeakDetector {
public final static int API_TYPE_OPEN = 0;
return;
}
+ if (AnalyzerUtil.isInternal(log)) {
+ return;
+ }
// step 1 : check "open" or "close"
// Check chk; // 0: open , 1: close
// if (null == getLeakCheckHash().get(apiName)) {
chk = LeakCheckList.getLeakCheckList().get(apiName);
}
- if (logData.getId() == 0x3004)
- {
- // System.out.println("file arrived");
- }
HashMap<Integer, LeakData> leaks = getLeakHash();
if (chk.getApiType() == API_TYPE_OPEN) {
-// if (chk.isCheckUserCall()) {
-// checkUserFuncLeakData(logData, chk);
-// } else {
- LeakData newLeak = new LeakData(logData, this);
- leaks.put(logData.getKey(), newLeak);
-// }
+ // if (chk.isCheckUserCall()) {
+ // checkUserFuncLeakData(logData, chk);
+ // } else {
+ System.out.println("api : + " + log.getApiName()
+ + " internal check : " + log.getInternalCall());
+ LeakData newLeak = new LeakData(logData, this);
+ leaks.put(logData.getKey(), newLeak);
+ // }
} else if (chk.getApiType() == API_TYPE_CLOSE) {
int key = log.getKey();
LeakData freeData = getChildHash().get(key);
leaks.remove(parent.getKey());
}
} else {
- // List<LeakData> leakDatas = new ArrayList<LeakData>();
- // leakDatas.addAll(leaks.values());
- // for (int i = 0; i < leakDatas.size(); i++) {
- // System.out.println(leakDatas.get(i).getData());
- // }
- // freeData = leaks.get(key);
leaks.remove(key);
}
leaks.remove(rmKey);
// internal check
- if (chk.isCheckUserCall()) {
- checkUserFuncLeakData(log, chk);
- } else {
+// if (chk.isCheckUserCall()) {
+// checkUserFuncLeakData(log, chk);
+// } else {
// String key = input[chk.getKeyIndex()];
// leaks.put(key, new LeakData(key, input, this));
int key = log.getKey();
leaks.put(key, new LeakData(log, this));
- }
+// }
}
}
tableData.setObject(leakData.getName());
text.add(leakData.getParam()); // 5
data.add(leakData.getParam());
- text.add(leakData.getHexRet()); // 6
- data.add(Long.toString(leakData.getRet()));
+ text.add(leakData.getRet()); // 6
+ data.add(leakData.getRet());
String libName = leakData.getLibName();
if (libName == null || libName.isEmpty()) {
contentText.add(contentTemp.getArgs());
contentData.add(contentTemp.getArgs());
- contentText.add(contentTemp.getHexReturn());
- contentData.add(Long.toString(contentTemp.getReturn()));
+ contentText.add(contentTemp.getReturn());
+ contentData.add(contentTemp.getReturn());
String errMsg = ErrorCodeManager.getInatance()
.getErrorCode(contentTemp.getErrno()).name();
import org.eclipse.swt.custom.SashForm;
import org.eclipse.swt.layout.FillLayout;
import org.eclipse.swt.widgets.Composite;
+import org.tizen.dynamicanalyzer.common.AnalyzerConstants;
import org.tizen.dynamicanalyzer.nl.AnalyzerLabels;
import org.tizen.dynamicanalyzer.shortcut.ShortCutManager;
import org.tizen.dynamicanalyzer.ui.info.callstack.CallstackView;
public ThreadPage(Composite parent, int style) {
super(parent, style);
name = AnalyzerLabels.COOLBAR_AREA_THREAD;
- this.setData(DAPageComposite.KEY_TOOLTIP, ShortCutManager.COOLBAR_AREA_THREAD_TOOLTIP);
+ this.setData(DAPageComposite.KEY_TOOLTIP,
+ ShortCutManager.COOLBAR_AREA_THREAD_TOOLTIP);
this.setLayout(new FillLayout());
baseForm = new SashForm(this, SWT.HORIZONTAL);
rightForm.setWeights(new int[] { 50, 50 });
baseForm.setWeights(new int[] { 75, 25 });
+
+ baseForm.setSashWidth(AnalyzerConstants.SASH_WIDTH);
+ leftForm.setSashWidth(AnalyzerConstants.SASH_WIDTH);
+ rightForm.setSashWidth(AnalyzerConstants.SASH_WIDTH);
}
-
+
@Override
protected void setFormWeights() {
baseForm.setWeights(new int[] { 100 - wRate, wRate });
import org.eclipse.swt.custom.SashForm;
import org.eclipse.swt.layout.FillLayout;
import org.eclipse.swt.widgets.Composite;
+import org.tizen.dynamicanalyzer.common.AnalyzerConstants;
import org.tizen.dynamicanalyzer.nl.AnalyzerLabels;
import org.tizen.dynamicanalyzer.shortcut.ShortCutManager;
import org.tizen.dynamicanalyzer.ui.info.callstack.CallstackView;
public TimelinePage(Composite parent, int style) {
super(parent, style);
name = AnalyzerLabels.COOLBAR_AREA_TIMELINE;
- this.setData(DAPageComposite.KEY_TOOLTIP, ShortCutManager.COOLBAR_AREA_TIMELINE_TOOLTIP);
+ this.setData(DAPageComposite.KEY_TOOLTIP,
+ ShortCutManager.COOLBAR_AREA_TIMELINE_TOOLTIP);
this.setLayout(new FillLayout());
leftForm = new SashForm(this, SWT.HORIZONTAL);
+
// index 0 : TIMELINE_INDEX
TimelineView timelineComp = new TimelineView(leftForm, SWT.NONE);
addView(timelineComp);
leftForm.setWeights(new int[] { 75, 25 });
rightForm.setWeights(new int[] { 50, 50 });
+
+ leftForm.setSashWidth(AnalyzerConstants.SASH_WIDTH);
+ rightForm.setSashWidth(AnalyzerConstants.SASH_WIDTH);
}
@Override
text.add(Integer.toString(data.getPid()));
text.add(data.getApiName());
text.add(data.getArgs());
- text.add(data.getHexReturn());
+ text.add(data.getReturn());
text.add(data.getLibName());
} else if (logData instanceof ProfileData) {
ProfileData data = (ProfileData) logData;
tableInput.setInRange(true);
}
}
-
}
return input;
}
String apiName = log.getApiName();
if (apiName.equals(API_NAME_CREATE_CHART)) {
- long chartHandle = log.getReturn();
+ long chartHandle = log.getOriginalReturn();
String chartName = log.getName();
chartManager.addCustomChart(new UserCustomChart((int) chartHandle,
chartName));
return;
}
- long seriesHandle = log.getReturn();
+ long seriesHandle = log.getOriginalReturn();
int seriesStyle = log.getType();
String seriesName = log.getName();
int colorIndex = log.getColor();
return;
}
- long seriesHandle = log.getReturn();
+ long seriesHandle = log.getOriginalReturn();
int colorIndex = chart.getUnusedColorIndex();
String seriesName = log.getName();
ConfigureLabels.FEATURE_FILE,
ConfigureLabels.FEATURE_THREAD,
ConfigureLabels.FEATURE_USERINTERFACE,
- ConfigureLabels.FEATURE_NETWORK,
- ConfigureLabels.FEATURE_OPENGL,
+ ConfigureLabels.FEATURE_SCREENSHOT,
+ ConfigureLabels.FEATURE_USER_EVENT,
ConfigureLabels.FEATURE_RECORDING,
+ ConfigureLabels.FEATURE_OPENGL,
+ ConfigureLabels.FEATURE_NETWORK,
ConfigureLabels.FEATURE_SYSCALL,
// ConfigureLabels.FEATURE_SYSCALL_FILE,
// ConfigureLabels.FEATURE_SYSCALL_IPC,
import org.eclipse.swt.custom.SashForm;
import org.eclipse.swt.layout.FillLayout;
import org.eclipse.swt.widgets.Composite;
+import org.tizen.dynamicanalyzer.common.AnalyzerConstants;
import org.tizen.dynamicanalyzer.nl.AnalyzerLabels;
import org.tizen.dynamicanalyzer.shortcut.ShortCutManager;
import org.tizen.dynamicanalyzer.ui.info.callstack.CallstackView;
bottomForm, SWT.NONE);
addView(bottomLeftFirst);
bottomForm.setWeights(new int[] { 100 });
+
+ baseForm.setSashWidth(AnalyzerConstants.SASH_WIDTH);
+ upperForm.setSashWidth(AnalyzerConstants.SASH_WIDTH);
+ bottomForm.setSashWidth(AnalyzerConstants.SASH_WIDTH);
}
@Override