#The type of the top level element we are building, generally "feature"
topLevelElementType=feature
#The id of the top level element we are building
-topLevelElementId=com.samsung.slp.profiler.feature
+topLevelElementId=com.samsung.tizen.profiler.feature
############# PRODUCT/PACKAGING CONTROL #############
-#product=/com.samsung.freshide/SLPSDK.product
+#product=/com.samsung.freshide/TizenSDK.product
#runPackager=true
#Set the name of the archive that will result from the product build.
<target name="allElements">
<ant antfile="${genericTargets}" target="${target}">
<property name="type" value="feature"/>
- <property name="id" value="com.samsung.slp.profiler.feature"/>
+ <property name="id" value="com.samsung.tizen.profiler.feature"/>
</ant>
</target>
<target
- name="assemble.com.samsung.slp.profiler.feature.linux.gtk.x86">
+ name="assemble.com.samsung.tizen.profiler.feature.linux.gtk.x86">
<ant antfile="{$assembleScriptName}" dir="${buildDirectory}"/>
</target>
<target
- name="assemble.com.samsung.slp.profiler.feature.win32.win32.x86">
+ name="assemble.com.samsung.tizen.profiler.feature.win32.win32.x86">
<ant antfile="{$assembleScriptName}" dir="${buildDirectory}"/>
</target>
Architecture: i386
Maintainer: Jaewon Lim <jaewon81.lim@samsung.com>, Juyoung Kim
Description: Samsung Linux Platform IDE
-Category: IDE/SLP IDE/Plugins/Dynamic analysis
+Category: IDE/Tizen IDE/Plugins/Dynamic analysis
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
- <name>com.samsung.slp.profiler.feature</name>
+ <name>com.samsung.tizen.profiler.feature</name>
<comment></comment>
<projects>
</projects>
<?xml version="1.0" encoding="UTF-8"?>
<feature
- id="com.samsung.slp.profiler.feature"
+ id="com.samsung.tizen.profiler.feature"
label="%featureName"
version="1.0.0.qualifier"
provider-name="%providerName"
- plugin="com.samsung.slp.common.branding"
- license-feature="com.samsung.slp.common.feature">
+ plugin="com.samsung.tizen.nativeapp.platform"
+ license-feature="com.samsung.tizen.common.feature">
<description>
%description
Bundle-Vendor: Samsung Electronics
Require-Bundle: org.eclipse.core.runtime;bundle-version="3.4.0",
org.eclipse.ui;bundle-version="3.4.0",
- com.samsung.slp.common.connection;bundle-version="1.0.0",
- com.samsung.slp.common;bundle-version="1.3.20"
+ com.samsung.tizen.common;bundle-version="1.3.20",
+ com.samsung.tizen.common.connection;bundle-version="1.0.0"
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Bundle-ActivationPolicy: lazy
-Export-Package: com.samsung.linuxplatform.oprofile.core,
- com.samsung.linuxplatform.oprofile.core.processor.modeldata.handler,
+Export-Package: com.samsung.tizen.oprofile.core,
+ com.samsung.tizen.oprofile.core.processor.modeldata.handler,
org.eclipse.linuxtools.oprofile.core,
org.eclipse.linuxtools.oprofile.core.daemon,
org.eclipse.linuxtools.oprofile.core.linux,
*/
-package com.samsung.linuxplatform.oprofile.core;
+package com.samsung.tizen.oprofile.core;
import java.util.ArrayList;
import org.eclipse.linuxtools.oprofile.core.model.OpModelRoot;
import org.eclipse.swt.widgets.Display;
-import com.samsung.linuxplatform.oprofile.core.provider.OpcontrolDataProvider;
-import com.samsung.slp.common.connection.ConnectionPlugin;
+import com.samsung.tizen.common.connection.ConnectionPlugin;
+import com.samsung.tizen.oprofile.core.provider.OpcontrolDataProvider;
public abstract class OprofileComm {
*
*/
-package com.samsung.linuxplatform.oprofile.core;
+package com.samsung.tizen.oprofile.core;
public abstract class OprofileCommonConstants {
*
*/
-package com.samsung.linuxplatform.oprofile.core.processor.checkevent;
+package com.samsung.tizen.oprofile.core.processor.checkevent;
+
+import com.samsung.tizen.oprofile.core.OprofileCommonConstants;
-import com.samsung.linuxplatform.oprofile.core.OprofileCommonConstants;
import org.eclipse.linuxtools.oprofile.core.CommandManager;
public class CheckEventsProcessor {
*
*/
-package com.samsung.linuxplatform.oprofile.core.processor.checkkernel;
+package com.samsung.tizen.oprofile.core.processor.checkkernel;
import org.eclipse.linuxtools.oprofile.core.CommandManager;
-import com.samsung.linuxplatform.oprofile.core.OprofileCommonConstants;
+import com.samsung.tizen.oprofile.core.OprofileCommonConstants;
public class CheckKernelProcessor {
*
*/
-package com.samsung.linuxplatform.oprofile.core.processor.eventinfo;
+package com.samsung.tizen.oprofile.core.processor.eventinfo;
import java.util.ArrayList;
import org.eclipse.linuxtools.oprofile.core.daemon.OpUnitMask;
import org.eclipse.linuxtools.oprofile.core.daemon.OpUnitMask.MaskInfo;
-import com.samsung.linuxplatform.oprofile.core.OprofileCommonConstants;
+import com.samsung.tizen.oprofile.core.OprofileCommonConstants;
public class EventListProcessor {
private OpInfo info;
*
*/
-package com.samsung.linuxplatform.oprofile.core.processor.eventinfo;
+package com.samsung.tizen.oprofile.core.processor.eventinfo;
import org.eclipse.linuxtools.oprofile.core.CommandManager;
import org.eclipse.linuxtools.oprofile.core.daemon.OpInfo;
*
*/
-package com.samsung.linuxplatform.oprofile.core.processor.modeldata;
+package com.samsung.tizen.oprofile.core.processor.modeldata;
import java.io.IOException;
import java.io.StringReader;
import org.xml.sax.InputSource;
import org.xml.sax.SAXException;
-import com.samsung.linuxplatform.oprofile.core.OprofileCommonConstants;
-import com.samsung.linuxplatform.oprofile.core.processor.modeldata.handler.OprofileSAXHandler;
+import com.samsung.tizen.oprofile.core.OprofileCommonConstants;
+import com.samsung.tizen.oprofile.core.processor.modeldata.handler.OprofileSAXHandler;
public class ModelDataProcessor{
*
*/
-package com.samsung.linuxplatform.oprofile.core.processor.modeldata.handler;
+package com.samsung.tizen.oprofile.core.processor.modeldata.handler;
import java.util.HashMap;
import org.xml.sax.SAXException;
import org.xml.sax.helpers.DefaultHandler;
-import com.samsung.linuxplatform.oprofile.core.processor.modeldata.parser.BinaryParser;
-import com.samsung.linuxplatform.oprofile.core.processor.modeldata.parser.ClassesParser;
-import com.samsung.linuxplatform.oprofile.core.processor.modeldata.parser.DetailTableParser;
-import com.samsung.linuxplatform.oprofile.core.processor.modeldata.parser.SetupParser;
-import com.samsung.linuxplatform.oprofile.core.processor.modeldata.parser.SymbolTableParser;
+import com.samsung.tizen.oprofile.core.processor.modeldata.parser.BinaryParser;
+import com.samsung.tizen.oprofile.core.processor.modeldata.parser.ClassesParser;
+import com.samsung.tizen.oprofile.core.processor.modeldata.parser.DetailTableParser;
+import com.samsung.tizen.oprofile.core.processor.modeldata.parser.SetupParser;
+import com.samsung.tizen.oprofile.core.processor.modeldata.parser.SymbolTableParser;
public class OprofileSAXHandler extends DefaultHandler {
*
*/
-package com.samsung.linuxplatform.oprofile.core.processor.modeldata.handler;
+package com.samsung.tizen.oprofile.core.processor.modeldata.handler;
import org.xml.sax.Attributes;
*
*/
-package com.samsung.linuxplatform.oprofile.core.processor.modeldata.parser;
+package com.samsung.tizen.oprofile.core.processor.modeldata.parser;
import java.util.HashMap;
import org.eclipse.linuxtools.oprofile.core.model.OpModelSymbol;
import org.xml.sax.Attributes;
-import com.samsung.linuxplatform.oprofile.core.processor.modeldata.handler.XMLParser;
-import com.samsung.linuxplatform.oprofile.core.processor.modeldata.util.ParserUtil;
+import com.samsung.tizen.oprofile.core.processor.modeldata.handler.XMLParser;
+import com.samsung.tizen.oprofile.core.processor.modeldata.util.ParserUtil;
public class BinaryParser extends XMLParser {
// private static BinaryParser parser;
*
*/
-package com.samsung.linuxplatform.oprofile.core.processor.modeldata.parser;
+package com.samsung.tizen.oprofile.core.processor.modeldata.parser;
import java.util.HashMap;
import org.eclipse.linuxtools.oprofile.core.model.OpModelImage;
import org.xml.sax.Attributes;
-import com.samsung.linuxplatform.oprofile.core.processor.modeldata.handler.XMLParser;
+import com.samsung.tizen.oprofile.core.processor.modeldata.handler.XMLParser;
public class ClassesParser extends XMLParser {
*
*/
-package com.samsung.linuxplatform.oprofile.core.processor.modeldata.parser;
+package com.samsung.tizen.oprofile.core.processor.modeldata.parser;
import java.util.HashMap;
import org.eclipse.linuxtools.oprofile.core.model.OpModelSymbol;
import org.xml.sax.Attributes;
-import com.samsung.linuxplatform.oprofile.core.processor.modeldata.handler.XMLParser;
-import com.samsung.linuxplatform.oprofile.core.processor.modeldata.util.ParserUtil;
+import com.samsung.tizen.oprofile.core.processor.modeldata.handler.XMLParser;
+import com.samsung.tizen.oprofile.core.processor.modeldata.util.ParserUtil;
public class DetailDataParser extends XMLParser {
*
*/
-package com.samsung.linuxplatform.oprofile.core.processor.modeldata.parser;
+package com.samsung.tizen.oprofile.core.processor.modeldata.parser;
import java.util.HashMap;
import org.eclipse.linuxtools.oprofile.core.model.OpModelSymbol;
import org.xml.sax.Attributes;
-import com.samsung.linuxplatform.oprofile.core.processor.modeldata.handler.XMLParser;
+import com.samsung.tizen.oprofile.core.processor.modeldata.handler.XMLParser;
*
*/
-package com.samsung.linuxplatform.oprofile.core.processor.modeldata.parser;
+package com.samsung.tizen.oprofile.core.processor.modeldata.parser;
import java.util.HashMap;
import org.eclipse.linuxtools.oprofile.core.model.OpModelSymbol;
import org.xml.sax.Attributes;
-import com.samsung.linuxplatform.oprofile.core.processor.modeldata.handler.XMLParser;
-import com.samsung.linuxplatform.oprofile.core.processor.modeldata.util.ParserUtil;
+import com.samsung.tizen.oprofile.core.processor.modeldata.handler.XMLParser;
+import com.samsung.tizen.oprofile.core.processor.modeldata.util.ParserUtil;
*
*/
-package com.samsung.linuxplatform.oprofile.core.processor.modeldata.parser;
+package com.samsung.tizen.oprofile.core.processor.modeldata.parser;
import java.util.HashMap;
import org.eclipse.linuxtools.oprofile.core.model.OpModelSymbol;
import org.xml.sax.Attributes;
-import com.samsung.linuxplatform.oprofile.core.processor.modeldata.handler.XMLParser;
-import com.samsung.linuxplatform.oprofile.core.processor.modeldata.util.ParserUtil;
+import com.samsung.tizen.oprofile.core.processor.modeldata.handler.XMLParser;
+import com.samsung.tizen.oprofile.core.processor.modeldata.util.ParserUtil;
public class ModuleSymbolParser extends XMLParser {
*
*/
-package com.samsung.linuxplatform.oprofile.core.processor.modeldata.parser;
+package com.samsung.tizen.oprofile.core.processor.modeldata.parser;
import java.util.ArrayList;
import java.util.HashMap;
import org.eclipse.linuxtools.oprofile.core.model.OpModelSession;
import org.xml.sax.Attributes;
-import com.samsung.linuxplatform.oprofile.core.processor.modeldata.handler.XMLParser;
-import com.samsung.linuxplatform.oprofile.core.processor.modeldata.util.ParserUtil;
+import com.samsung.tizen.oprofile.core.processor.modeldata.handler.XMLParser;
+import com.samsung.tizen.oprofile.core.processor.modeldata.util.ParserUtil;
public class SetupParser extends XMLParser {
// private static SetupParser parser;
*
*/
-package com.samsung.linuxplatform.oprofile.core.processor.modeldata.parser;
+package com.samsung.tizen.oprofile.core.processor.modeldata.parser;
import java.util.HashMap;
import org.eclipse.linuxtools.oprofile.core.model.OpModelSymbol;
import org.xml.sax.Attributes;
-import com.samsung.linuxplatform.oprofile.core.processor.modeldata.handler.XMLParser;
+import com.samsung.tizen.oprofile.core.processor.modeldata.handler.XMLParser;
*
*/
-package com.samsung.linuxplatform.oprofile.core.processor.modeldata.parser;
+package com.samsung.tizen.oprofile.core.processor.modeldata.parser;
import java.util.HashMap;
import org.eclipse.linuxtools.oprofile.core.model.OpModelSymbol;
import org.xml.sax.Attributes;
-import com.samsung.linuxplatform.oprofile.core.processor.modeldata.handler.XMLParser;
-import com.samsung.linuxplatform.oprofile.core.processor.modeldata.util.ParserUtil;
+import com.samsung.tizen.oprofile.core.processor.modeldata.handler.XMLParser;
+import com.samsung.tizen.oprofile.core.processor.modeldata.util.ParserUtil;
public class SymbolParser extends XMLParser {
*
*/
-package com.samsung.linuxplatform.oprofile.core.processor.modeldata.parser;
+package com.samsung.tizen.oprofile.core.processor.modeldata.parser;
import java.util.HashMap;
import org.eclipse.linuxtools.oprofile.core.model.OpModelSymbol;
import org.xml.sax.Attributes;
-import com.samsung.linuxplatform.oprofile.core.processor.modeldata.handler.XMLParser;
-import com.samsung.linuxplatform.oprofile.core.processor.modeldata.util.ParserUtil;
+import com.samsung.tizen.oprofile.core.processor.modeldata.handler.XMLParser;
+import com.samsung.tizen.oprofile.core.processor.modeldata.util.ParserUtil;
public class SymbolTableParser extends XMLParser {
*
*/
-package com.samsung.linuxplatform.oprofile.core.processor.modeldata.util;
+package com.samsung.tizen.oprofile.core.processor.modeldata.util;
import java.util.HashMap;
*
*/
-package com.samsung.linuxplatform.oprofile.core.processor.sessions;
+package com.samsung.tizen.oprofile.core.processor.sessions;
import java.util.ArrayList;
import org.eclipse.linuxtools.oprofile.core.model.OpModelEvent;
import org.eclipse.linuxtools.oprofile.core.model.OpModelSession;
-import com.samsung.linuxplatform.oprofile.core.OprofileCommonConstants;
+import com.samsung.tizen.oprofile.core.OprofileCommonConstants;
public class SessionsProcessor{
*
*/
-package com.samsung.linuxplatform.oprofile.core.provider;
+package com.samsung.tizen.oprofile.core.provider;
import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList;
import org.eclipse.linuxtools.oprofile.core.model.OpModelEvent;
import org.eclipse.linuxtools.oprofile.core.model.OpModelRoot;
-import com.samsung.linuxplatform.oprofile.core.processor.checkevent.CheckEventsProcessor;
-import com.samsung.linuxplatform.oprofile.core.processor.checkkernel.CheckKernelProcessor;
-import com.samsung.linuxplatform.oprofile.core.processor.eventinfo.EventListProcessor;
-import com.samsung.linuxplatform.oprofile.core.processor.eventinfo.OpInfoProcessor;
-import com.samsung.linuxplatform.oprofile.core.processor.modeldata.ModelDataProcessor;
-import com.samsung.linuxplatform.oprofile.core.processor.sessions.SessionsProcessor;
+import com.samsung.tizen.oprofile.core.processor.checkevent.CheckEventsProcessor;
+import com.samsung.tizen.oprofile.core.processor.checkkernel.CheckKernelProcessor;
+import com.samsung.tizen.oprofile.core.processor.eventinfo.EventListProcessor;
+import com.samsung.tizen.oprofile.core.processor.eventinfo.OpInfoProcessor;
+import com.samsung.tizen.oprofile.core.processor.modeldata.ModelDataProcessor;
+import com.samsung.tizen.oprofile.core.processor.sessions.SessionsProcessor;
public abstract class OpcontrolDataProvider{
import org.eclipse.linuxtools.oprofile.core.CommonReceiver;
-import com.samsung.slp.common.connection.ConnectionPlugin;
-import com.samsung.slp.sdblib.IDevice;
-import com.samsung.slp.sdblib.MultiLineReceiver;
-import com.samsung.slp.sdblib.SdbCommandRejectedException;
-import com.samsung.slp.sdblib.SdbShellProcess;
-import com.samsung.slp.sdblib.ShellCommandUnresponsiveException;
-import com.samsung.slp.sdblib.SyncService;
-import com.samsung.slp.sdblib.SyncService.SyncResult;
-import com.samsung.slp.sdblib.TimeoutException;
+import com.samsung.tizen.common.connection.ConnectionPlugin;
+import com.samsung.tizen.sdblib.IDevice;
+import com.samsung.tizen.sdblib.MultiLineReceiver;
+import com.samsung.tizen.sdblib.SdbCommandRejectedException;
+import com.samsung.tizen.sdblib.SdbShellProcess;
+import com.samsung.tizen.sdblib.ShellCommandUnresponsiveException;
+import com.samsung.tizen.sdblib.SyncService;
+import com.samsung.tizen.sdblib.SyncService.SyncResult;
+import com.samsung.tizen.sdblib.TimeoutException;
class CommonReceiver extends MultiLineReceiver {
import org.eclipse.linuxtools.oprofile.core.model.OpModelImage;
import org.eclipse.linuxtools.oprofile.core.opxml.checkevent.CheckEventsProcessor;
-import com.samsung.linuxplatform.oprofile.core.OprofileComm;
-import com.samsung.linuxplatform.oprofile.core.provider.OpcontrolDataProvider;
+import com.samsung.tizen.oprofile.core.OprofileComm;
+import com.samsung.tizen.oprofile.core.provider.OpcontrolDataProvider;
/**
import org.eclipse.linuxtools.oprofile.core.daemon.OprofileDaemonEvent;
import org.eclipse.linuxtools.oprofile.core.daemon.OprofileDaemonOptions;
-import com.samsung.linuxplatform.oprofile.core.OprofileComm;
-import com.samsung.linuxplatform.oprofile.core.OprofileCommonConstants;
-import com.samsung.slp.common.connection.ConnectionPlugin;
+import com.samsung.tizen.common.connection.ConnectionPlugin;
+import com.samsung.tizen.oprofile.core.OprofileComm;
+import com.samsung.tizen.oprofile.core.OprofileCommonConstants;
/**
* A class which encapsulates running opcontrol.
import org.eclipse.linuxtools.oprofile.core.opxml.modeldata.ModelDataProcessor;
import org.eclipse.linuxtools.oprofile.core.opxml.sessions.SessionsProcessor;
-import com.samsung.linuxplatform.oprofile.core.OprofileCommonConstants;
+import com.samsung.tizen.oprofile.core.OprofileCommonConstants;
/**
* A class which implements the IOpxmlProvider interface for running opxml.
import org.xml.sax.SAXException;
import org.xml.sax.XMLReader;
-import com.samsung.linuxplatform.oprofile.core.OprofileComm;
+import com.samsung.tizen.oprofile.core.OprofileComm;
/**
* This class will run opxml.
package org.eclipse.linuxtools.oprofile.core.model;
-import com.samsung.linuxplatform.oprofile.core.OprofileComm;
+import com.samsung.tizen.oprofile.core.OprofileComm;
/**
* A root node for the data model. Only one instance exists at any time,
org.eclipse.linuxtools.oprofile.launch,\r
org.eclipse.debug.ui;bundle-version="3.4.2",\r
org.eclipse.linuxtools.profiling.launch,\r
- com.samsung.slp.nativeide;bundle-version="1.0.0",\r
- com.samsung.slp.common;bundle-version="1.3.20"\r
+ com.samsung.tizen.nativeapp;bundle-version="1.0.0",\r
+ com.samsung.tizen.common;bundle-version="1.3.20"\r
Bundle-Vendor: Eclipse Linux Tools\r
Bundle-Version: 1.3.18.qualifier\r
Bundle-Name: Tizen SDK Oprofile Exe Launch\r
org.eclipse.ui\r
Bundle-SymbolicName: org.eclipse.linuxtools.oprofile.launch.exe;singleton:=true\r
Bundle-RequiredExecutionEnvironment: JavaSE-1.6\r
-Bundle-Activator: com.samsung.linuxplatform.oprofile.launch.Activator\r
-Export-Package: com.samsung.linuxplatform.oprofile.launch\r
+Bundle-Activator: com.samsung.tizen.oprofile.launch.Activator\r
+Export-Package: com.samsung.tizen.oprofile.launch\r
\r
\r
\r
<extension
point="org.eclipse.debug.core.launchConfigurationTypes">
<launchConfigurationType
- delegate="com.samsung.linuxplatform.oprofile.launch.SLPOprofileLaunchDelegate"
+ delegate="com.samsung.tizen.oprofile.launch.TizenOprofileLaunchDelegate"
id="org.eclipse.linuxtools.oprofile.launch.oprofile"
modes="profile"
name="Profile With OProfile"
<extension
point="org.eclipse.debug.ui.launchConfigurationTabGroups">
<launchConfigurationTabGroup
- class="com.samsung.linuxplatform.oprofile.launch.configuration.NormalOprofileLaunchConfigurationTabGroup"
+ class="com.samsung.tizen.oprofile.launch.configuration.NormalOprofileLaunchConfigurationTabGroup"
id="org.eclipse.linuxtools.oprofile.launch.launchConfigurationTabGroup"
type="org.eclipse.linuxtools.oprofile.launch.oprofile">
</launchConfigurationTabGroup>
<extension
point="org.eclipse.debug.ui.launchShortcuts">
<shortcut
- class="com.samsung.linuxplatform.oprofile.launch.NormalOprofileLaunchShortcut"
+ class="com.samsung.tizen.oprofile.launch.NormalOprofileLaunchShortcut"
icon="icons/profile_run.png"
id="org.eclipse.linuxtools.oprofile.launch.profileshortcut"
label="Profile With OProfile"
*
*/
-package com.samsung.linuxplatform.oprofile.launch;
+package com.samsung.tizen.oprofile.launch;
import org.eclipse.core.runtime.Plugin;
import org.osgi.framework.BundleContext;
*
*/
-package com.samsung.linuxplatform.oprofile.launch;
+package com.samsung.tizen.oprofile.launch;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.debug.core.ILaunchConfigurationType;
// commented by greatim at 2011.06.01 for fresh ide
//jinu added at 20090618
-// wc.setAttribute(ISMLCDTLaunchConstants.ATTR_DEPLOYER_TYPE, "com.samsung.linuxplatform.launcher.slp20");
// wc.setAttribute(ISMLCDTLaunchConstants.ATTR_LAUNCH_MODE, "oprofile");
// wc.setAttribute(ISMLCDTLaunchConstants.ATTR_SKIP_DOWNLOAD, false);
wc.setAttribute(IDebugUIConstants.ATTR_LAUNCH_IN_BACKGROUND, true);
/*
- * SLP Oprofile Launch Delegate
+ * Tizen Oprofile Launch Delegate
*
* Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
*
*
*/
-package com.samsung.linuxplatform.oprofile.launch;
+package com.samsung.tizen.oprofile.launch;
import java.io.File;
import java.util.ArrayList;
import org.eclipse.ui.PartInitException;
import org.eclipse.ui.PlatformUI;
-import com.samsung.slp.common.properties.InstallPathConfig;
-import com.samsung.slp.nativeide.launch.SLPLaunchDelegate;
-import com.samsung.slp.nativeide.launch.SLPLaunchMessages;
+import com.samsung.tizen.common.properties.InstallPathConfig;
+import com.samsung.tizen.nativeapp.launch.TizenLaunchDelegate;
+import com.samsung.tizen.nativeapp.launch.TizenLaunchMessages;
+import com.samsung.tizen.oprofile.launch.DefaultSettingConstants;
-public class SLPOprofileLaunchDelegate extends SLPLaunchDelegate {
+public class TizenOprofileLaunchDelegate extends TizenLaunchDelegate {
protected static final String MAKE_DIRECTORY_CMD = "mkdir -p ";
protected static final String CHANGE_DIRECTORY_CMD = "cd ";
monitor = new NullProgressMonitor();
try {
- monitor.beginTask(SLPLaunchMessages.LAUNCH_APPLICATION, 30);
+ monitor.beginTask(TizenLaunchMessages.LAUNCH_APPLICATION, 30);
activateProgressView();
launchApplicationWithOprofile(launch, config, monitor);
} else {
- newCoreException(SLPLaunchMessages.CANNOT_LAUNCH, null);
+ newCoreException(TizenLaunchMessages.CANNOT_LAUNCH, null);
}
} finally {
monitor.done();
String[] resultRsp = CommandManager
.runCommandReturningResultArray(cmd);
if (!CommandManager.isRunSeccessfuly(resultRsp))
- newCoreException(SLPLaunchMessages.CANNOT_LAUNCH,
+ newCoreException(TizenLaunchMessages.CANNOT_LAUNCH,
new Exception("Cannot change to run-directory : "
+ ". (Return Code: " + resultRsp + ")"));
resultRsp = CommandManager.runCommandReturningResultArray(cmd);
if (!CommandManager.isRunSeccessfuly(resultRsp))
newCoreException(
- SLPLaunchMessages.CANNOT_LAUNCH,
+ TizenLaunchMessages.CANNOT_LAUNCH,
new Exception(
"Executable does not exist on a valid path. You must install your application before running it."));
} catch (CoreException e) {
throw e;
} catch (Exception e) {
- newCoreException(SLPLaunchMessages.CANNOT_LAUNCH, e);
+ newCoreException(TizenLaunchMessages.CANNOT_LAUNCH, e);
} finally {
if (monitor.isCanceled()) {
throw new OperationCanceledException();
if (!CommandManager.isRunSeccessfuly(resultRsp)) {
if (CommandManager.isEmulator()) {
throw new Exception(
- SLPLaunchMessages.CANNOT_LAUNCH,
+ TizenLaunchMessages.CANNOT_LAUNCH,
new Exception(
"No oprofile in this target (/usr/bin/opcontrol)."));
} else {
*
*/
-package com.samsung.linuxplatform.oprofile.launch.configuration;
+package com.samsung.tizen.oprofile.launch.configuration;
import java.util.ArrayList;
import java.util.Arrays;
import org.eclipse.linuxtools.oprofile.launch.configuration.OprofileEventConfigTab;
import org.eclipse.linuxtools.profiling.launch.ProfileLaunchConfigurationTabGroup;
-import com.samsung.linuxplatform.oprofile.launch.SLPOprofileLaunchDelegate;
-import com.samsung.slp.nativeide.launch.ui.SLPArgumentsTab;
-import com.samsung.slp.nativeide.launch.ui.SLPEnvironmentTab;
-import com.samsung.slp.nativeide.launch.ui.SLPMainTab;
+import com.samsung.tizen.nativeapp.launch.ui.TizenArgumentsTab;
+import com.samsung.tizen.nativeapp.launch.ui.TizenEnvironmentTab;
+import com.samsung.tizen.nativeapp.launch.ui.TizenMainTab;
+import com.samsung.tizen.oprofile.launch.TizenOprofileLaunchDelegate;
public class NormalOprofileLaunchConfigurationTabGroup extends ProfileLaunchConfigurationTabGroup {
public void createTabs(ILaunchConfigurationDialog dialog, String mode) {
ArrayList<AbstractLaunchConfigurationTab> tabs = new ArrayList<AbstractLaunchConfigurationTab>();
- tabs.add(new SLPMainTab());
- tabs.add(new SLPArgumentsTab());
+ tabs.add(new TizenMainTab());
+ tabs.add(new TizenArgumentsTab());
tabs.addAll(Arrays.asList(getProfileTabs()));
- tabs.add(new SLPEnvironmentTab());
+ tabs.add(new TizenEnvironmentTab());
// tabs.add(new SourceLookupTab());
setTabs(tabs.toArray(new AbstractLaunchConfigurationTab[tabs.size()]));
try{
IProgressMonitor monitor = new NullProgressMonitor();
- SLPOprofileLaunchDelegate.checkProfilingTool(monitor);
+ TizenOprofileLaunchDelegate.checkProfilingTool(monitor);
} catch(Exception e) {
}
org.eclipse.cdt.launch;bundle-version="5.0.1",\r
org.eclipse.cdt.debug.core;bundle-version="5.0.1",\r
org.eclipse.linuxtools.oprofile.core,\r
- com.samsung.slp.common;bundle-version="1.3.20",\r
- com.samsung.slp.common.connection;bundle-version="1.0.0"\r
+ com.samsung.tizen.common;bundle-version="1.3.20",\r
+ com.samsung.tizen.common.connection;bundle-version="1.0.0"\r
Bundle-Vendor: Eclipse Linux Tools\r
Bundle-ActivationPolicy: lazy\r
Bundle-Version: 1.3.18.qualifier\r
Bundle-SymbolicName: org.eclipse.linuxtools.oprofile.launch;singleton:\r
=true\r
Bundle-RequiredExecutionEnvironment: JavaSE-1.6\r
-Export-Package: com.samsung.linuxplatform.oprofile.launch,\r
+Export-Package: com.samsung.tizen.oprofile.launch,\r
org.eclipse.linuxtools.oprofile.launch,\r
org.eclipse.linuxtools.oprofile.launch.configuration\r
\r
<extension
point="org.eclipse.ui.startup">
<startup
- class="com.samsung.linuxplatform.oprofile.launch.listen.OprofileStartup">
+ class="com.samsung.tizen.oprofile.launch.listen.OprofileStartup">
</startup>
</extension>
*
*/
-package com.samsung.linuxplatform.oprofile.launch;
+package com.samsung.tizen.oprofile.launch;
import java.util.HashMap;
*
*/
-package com.samsung.linuxplatform.oprofile.launch.listen;
+package com.samsung.tizen.oprofile.launch.listen;
import org.eclipse.linuxtools.oprofile.core.Oprofile;
-import com.samsung.slp.common.connection.ConnectionPlugin;
-import com.samsung.slp.common.connection.ConnectionPlugin.ISelectionListener;
-import com.samsung.slp.sdblib.FileListingService.FileEntry;
+import com.samsung.tizen.common.connection.ConnectionPlugin;
+import com.samsung.tizen.common.connection.ConnectionPlugin.ISelectionListener;
+import com.samsung.tizen.sdblib.FileListingService.FileEntry;
public class OProfileTargetConnectionListener implements ISelectionListener{
-// //@Override
-// public void ConnectionChanged() {
-// /*
-// try {
-// if(DeviceManager.hasSelectedDevice() == false || !DeviceManager.getSelectedDevice().isReachable())
-// {
-// Oprofile.initialize();
-// }
-// } catch (Exception e) {
-//
-// }
-// */
-// Oprofile.initialize();
-// }
-
-
@Override
public void selectionChanged(FileEntry selectedEntry) {
// TODO Auto-generated method stub
if(null == ConnectionPlugin.getDefault().getCurrentDevice()){
Oprofile.initialize();
- }
-
-
-
+ }
}
+
}
*/
-package com.samsung.linuxplatform.oprofile.launch.listen;
+package com.samsung.tizen.oprofile.launch.listen;
import org.eclipse.ui.IStartup;
-import com.samsung.slp.common.connection.ConnectionPlugin;
+import com.samsung.tizen.common.connection.ConnectionPlugin;
public class OprofileStartup implements IStartup {
import org.eclipse.swt.widgets.Text;
import org.eclipse.ui.PlatformUI;
-import com.samsung.linuxplatform.oprofile.core.OprofileComm;
-import com.samsung.linuxplatform.oprofile.launch.DefaultSettingConstants;
+import com.samsung.tizen.oprofile.core.OprofileComm;
+import com.samsung.tizen.oprofile.launch.DefaultSettingConstants;
/**
import org.eclipse.ui.PartInitException;
import org.eclipse.ui.PlatformUI;
-import com.samsung.linuxplatform.oprofile.launch.DefaultSettingConstants;
+import com.samsung.tizen.oprofile.launch.DefaultSettingConstants;
public class OprofileLaunchConfigurationDelegate extends AbstractCLaunchDelegate {
org.eclipse.jface.text;bundle-version="3.4.2",
org.eclipse.linuxtools.oprofile.core,
org.eclipse.linuxtools.profiling.ui,
- com.samsung.slp.common;bundle-version="1.3.20"
+ com.samsung.tizen.common;bundle-version="1.3.20"
Bundle-Activator: org.eclipse.linuxtools.oprofile.ui.OprofileUiPlugin
Bundle-ActivationPolicy: lazy
Bundle-Localization: plugin
<extension
point="org.eclipse.ui.views">
<view
- category="com.samsung.slp.nativeide.viewCategory"
+ category="com.samsung.tizen.nativeapp.viewCategory"
class="org.eclipse.linuxtools.oprofile.ui.view.OprofileView"
icon="icons/oprofile_view.png"
id="org.eclipse.linuxtools.oprofile.ui.OProfileView"
<menuContribution
locationURI="toolbar:org.eclipse.linuxtools.oprofile.ui.OProfileView?after=additions">
<command
- commandId="com.samsung.linuxplatform.oprofile.ui.command.refreshView"
+ commandId="com.samsung.tizen.oprofile.ui.command.refreshView"
icon="icons/refresh.gif"
tooltip="Refresh">
</command>
<command
- commandId="com.samsung.linuxplatform.oprofile.ui.command.reset"
+ commandId="com.samsung.tizen.oprofile.ui.command.reset"
icon="icons/reset_log.gif"
tooltip="Reset">
</command>
<command
- commandId="com.samsung.linuxplatform.oprofile.ui.command.drawChart"
+ commandId="com.samsung.tizen.oprofile.ui.command.drawChart"
icon="icons/chart.png"
tooltip="Draw Chart">
</command>
<separator
- name="com.samsung.linuxplatform.oprofile.ui.view.separator1"
+ name="com.samsung.tizen.oprofile.ui.view.separator1"
visible="true">
</separator>
<command
- commandId="com.samsung.linuxplatform.oprofile.command.saveFile"
+ commandId="com.samsung.tizen.oprofile.command.saveFile"
icon="icons/save_log.png"
tooltip="Save file">
<parameter
- name="com.samsung.linuxplatform.oprofile.command.saveFile.parameter"
+ name="com.samsung.tizen.oprofile.command.saveFile.parameter"
value="oprofile">
</parameter>
</command>
<command
- commandId="com.samsung.linuxplatform.common.command.openFile"
+ commandId="com.samsung.tizen.common.command.openFile"
icon="icons/open_log.png"
tooltip="Open file">
<parameter
- name="com.samsung.linuxplatform.common.command.openFile.parameter"
+ name="com.samsung.tizen.common.command.openFile.parameter"
value="oprofile">
</parameter>
</command>
<!--menuContribution
locationURI="menu:org.eclipse.linuxtools.oprofile.ui.OProfileView?after=additions">
<command
- commandId="com.samsung.linuxplatform.oprofile.ui.command.openDaemonLog"
+ commandId="com.samsung.tizen.oprofile.ui.command.openDaemonLog"
tooltip="Open Daemon Log">
</command>
</menuContribution-->
<extension point="org.eclipse.ui.commands">
<category
description="Commands related to the Oprofile"
- id="com.samsung.linuxplatform.oprofile.ui.command.category"
+ id="com.samsung.tizen.oprofile.ui.command.category"
name="Oprofiler">
</category>
<command
- categoryId="com.samsung.linuxplatform.oprofile.ui.command.category"
- id="com.samsung.linuxplatform.oprofile.ui.command.refreshView"
+ categoryId="com.samsung.tizen.oprofile.ui.command.category"
+ id="com.samsung.tizen.oprofile.ui.command.refreshView"
name="Refresh View">
</command>
<command
- categoryId="com.samsung.linuxplatform.oprofile.ui.command.category"
- id="com.samsung.linuxplatform.oprofile.ui.command.drawChart"
+ categoryId="com.samsung.tizen.oprofile.ui.command.category"
+ id="com.samsung.tizen.oprofile.ui.command.drawChart"
name="Draw Chart">
</command>
<command
- categoryId="com.samsung.linuxplatform.oprofile.ui.command.category"
- id="com.samsung.linuxplatform.oprofile.ui.command.openDaemonLog"
+ categoryId="com.samsung.tizen.oprofile.ui.command.category"
+ id="com.samsung.tizen.oprofile.ui.command.openDaemonLog"
name="Open DaemonLog">
</command>
<command
- categoryId="com.samsung.linuxplatform.oprofile.ui.command.category"
- id="com.samsung.linuxplatform.oprofile.ui.command.reset"
+ categoryId="com.samsung.tizen.oprofile.ui.command.category"
+ id="com.samsung.tizen.oprofile.ui.command.reset"
name="Reset Log">
</command>
<command
- categoryId="com.samsung.linuxplatform.oprofile.ui.command.category"
+ categoryId="com.samsung.tizen.oprofile.ui.command.category"
description="Save"
- id="com.samsung.linuxplatform.oprofile.command.saveFile"
+ id="com.samsung.tizen.oprofile.command.saveFile"
name="Save">
<commandParameter
- id="com.samsung.linuxplatform.oprofile.command.saveFile.parameter"
+ id="com.samsung.tizen.oprofile.command.saveFile.parameter"
name="Extension"
optional="false">
</commandParameter>
</command>
</extension>
<extension point="org.eclipse.ui.handlers">
- <handler class="com.samsung.linuxplatform.oprofile.ui.handler.OprofileSaveFileHandler"
- commandId="com.samsung.linuxplatform.oprofile.command.saveFile">
+ <handler class="com.samsung.tizen.oprofile.ui.handler.OprofileSaveFileHandler"
+ commandId="com.samsung.tizen.oprofile.command.saveFile">
</handler>
- <handler class="com.samsung.linuxplatform.oprofile.ui.handler.OprofileRefreshViewHandler"
- commandId="com.samsung.linuxplatform.oprofile.ui.command.refreshView">
+ <handler class="com.samsung.tizen.oprofile.ui.handler.OprofileRefreshViewHandler"
+ commandId="com.samsung.tizen.oprofile.ui.command.refreshView">
<activeWhen>
<with
- variable="com.samsung.linuxplatform.connection.sourceProvider.TargetState">
+ variable="com.samsung.tizen.connection.sourceProvider.TargetState">
<or>
<equals
value="SIMULATOR_CONNECTED">
</activeWhen>
</handler>
<handler
- class="com.samsung.linuxplatform.oprofile.ui.handler.OprofileDrawChartHandler"
- commandId="com.samsung.linuxplatform.oprofile.ui.command.drawChart">
+ class="com.samsung.tizen.oprofile.ui.handler.OprofileDrawChartHandler"
+ commandId="com.samsung.tizen.oprofile.ui.command.drawChart">
<activeWhen>
<with
variable="selection">
</with>
</activeWhen>
</handler>
- <handler class="com.samsung.linuxplatform.oprofile.ui.handler.OprofileResetHandler"
- commandId="com.samsung.linuxplatform.oprofile.ui.command.reset">
+ <handler class="com.samsung.tizen.oprofile.ui.handler.OprofileResetHandler"
+ commandId="com.samsung.tizen.oprofile.ui.command.reset">
<activeWhen>
<with
- variable="com.samsung.linuxplatform.connection.sourceProvider.TargetState">
+ variable="com.samsung.tizen.connection.sourceProvider.TargetState">
<or>
<equals
value="SIMULATOR_CONNECTED">
</activeWhen>
</handler>
<handler
- class="com.samsung.linuxplatform.oprofile.ui.handler.OprofileOpenDaemonLogHandler"
- commandId="com.samsung.linuxplatform.oprofile.ui.command.openDaemonLog">
+ class="com.samsung.tizen.oprofile.ui.handler.OprofileOpenDaemonLogHandler"
+ commandId="com.samsung.tizen.oprofile.ui.command.openDaemonLog">
</handler>
</extension>
<extension
point="org.eclipse.ui.editors">
<editor
- class="com.samsung.linuxplatform.oprofile.ui.editor.ChartEditor"
+ class="com.samsung.tizen.oprofile.ui.editor.ChartEditor"
default="false"
icon="icons/oprofile_view.png"
- id="com.samsung.linuxplatform.oprofile.ui.editor.ChartEditor"
+ id="com.samsung.tizen.oprofile.ui.editor.ChartEditor"
name="Pie Chart for Oprofiler">
</editor>
<editor
- class="com.samsung.linuxplatform.oprofile.ui.editor.OprofileEditor"
+ class="com.samsung.tizen.oprofile.ui.editor.OprofileEditor"
default="true"
extensions="oprofile"
icon="icons/oprofile_view.png"
- id="com.samsung.linuxplatform.oprofile.ui.editor.OprofileEditor"
+ id="com.samsung.tizen.oprofile.ui.editor.OprofileEditor"
name="Oprofile Editor">
</editor>
</extension>
<extension
point="org.eclipse.ui.perspectiveExtensions">
<perspectiveExtension
- targetID="com.samsung.linuxplatform.perspective.SamsungSDKPerspective">
+ targetID="com.samsung.tizen.nativeapp.perspective">
<viewShortcut
id="org.eclipse.linuxtools.oprofile.ui.OProfileView">
</viewShortcut>
*
*/
-package com.samsung.linuxplatform.oprofile.ui.chart;
+package com.samsung.tizen.oprofile.ui.chart;
import org.eclipse.birt.chart.device.IDeviceRenderer;
import org.eclipse.birt.chart.factory.GeneratedChartState;
*
*/
-package com.samsung.linuxplatform.oprofile.ui.chart;
+package com.samsung.tizen.oprofile.ui.chart;
import org.eclipse.birt.chart.model.Chart;
import org.eclipse.jface.resource.ImageDescriptor;
*
*/
-package com.samsung.linuxplatform.oprofile.ui.chart;
+package com.samsung.tizen.oprofile.ui.chart;
import java.util.ArrayList;
*/\r
\r
\r
-package com.samsung.linuxplatform.oprofile.ui.chart;\r
+package com.samsung.tizen.oprofile.ui.chart;\r
\r
import org.eclipse.birt.chart.model.Chart;\r
import org.eclipse.birt.chart.model.ChartWithoutAxes;\r
*
*/
-package com.samsung.linuxplatform.oprofile.ui.editor;
+package com.samsung.tizen.oprofile.ui.editor;
import org.eclipse.birt.chart.model.Chart;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.ui.PartInitException;
import org.eclipse.ui.part.EditorPart;
-import com.samsung.linuxplatform.oprofile.ui.chart.ChartControl;
-import com.samsung.linuxplatform.oprofile.ui.chart.ChartEditorInput;
+import com.samsung.tizen.oprofile.ui.chart.ChartControl;
+import com.samsung.tizen.oprofile.ui.chart.ChartEditorInput;
public class ChartEditor extends EditorPart {
protected ChartControl control;
*
*/
-package com.samsung.linuxplatform.oprofile.ui.editor;
+package com.samsung.tizen.oprofile.ui.editor;
import java.io.File;
import java.lang.reflect.InvocationTargetException;
import org.eclipse.ui.part.MultiPageEditorPart;
import org.eclipse.ui.progress.UIJob;
-import com.samsung.linuxplatform.oprofile.core.processor.modeldata.handler.OprofileSAXHandler;
-import com.samsung.linuxplatform.oprofile.ui.view.OprofileViewLabelProvider;
+import com.samsung.tizen.oprofile.core.processor.modeldata.handler.OprofileSAXHandler;
+import com.samsung.tizen.oprofile.ui.view.OprofileViewLabelProvider;
public class OprofileEditor extends MultiPageEditorPart {
*
*/
-package com.samsung.linuxplatform.oprofile.ui.handler;
+package com.samsung.tizen.oprofile.ui.handler;
import org.eclipse.core.commands.AbstractHandler;
import org.eclipse.core.commands.ExecutionEvent;
import org.eclipse.ui.PlatformUI;
import org.eclipse.ui.handlers.HandlerUtil;
-import com.samsung.linuxplatform.oprofile.ui.chart.ChartEditorInput;
-import com.samsung.linuxplatform.oprofile.ui.chart.ChartModelRoot;
-import com.samsung.linuxplatform.oprofile.ui.chart.PieChart;
-import com.samsung.linuxplatform.oprofile.ui.editor.ChartEditor;
-import com.samsung.slp.common.manager.StatusLineMessageManager;
+import com.samsung.tizen.common.manager.StatusLineMessageManager;
+import com.samsung.tizen.oprofile.ui.chart.ChartEditorInput;
+import com.samsung.tizen.oprofile.ui.chart.ChartModelRoot;
+import com.samsung.tizen.oprofile.ui.chart.PieChart;
+import com.samsung.tizen.oprofile.ui.editor.ChartEditor;
public class OprofileDrawChartHandler extends AbstractHandler {
private IViewPart part;
private StatusLineMessageManager statusLine;
// private TreeViewer viewer;
private UiModelEvent uiModel;
- private String editorId = "com.samsung.linuxplatform.oprofile.ui.editor.ChartEditor";
+ private String editorId = "com.samsung.tizen.oprofile.ui.editor.ChartEditor";
public Object execute(ExecutionEvent event) throws ExecutionException {
*
*/
-package com.samsung.linuxplatform.oprofile.ui.handler;
+package com.samsung.tizen.oprofile.ui.handler;
import org.eclipse.core.commands.AbstractHandler;
import org.eclipse.core.commands.ExecutionEvent;
import org.eclipse.linuxtools.profiling.ui.ProfileUIUtils;
import org.eclipse.ui.PartInitException;
-import com.samsung.linuxplatform.oprofile.core.OprofileCommonConstants;
+import com.samsung.tizen.oprofile.core.OprofileCommonConstants;
public class OprofileOpenDaemonLogHandler extends AbstractHandler {
*
*/
-package com.samsung.linuxplatform.oprofile.ui.handler;
+package com.samsung.tizen.oprofile.ui.handler;
import org.eclipse.core.commands.AbstractHandler;
import org.eclipse.core.commands.ExecutionEvent;
*
*/
-package com.samsung.linuxplatform.oprofile.ui.handler;
+package com.samsung.tizen.oprofile.ui.handler;
import org.eclipse.core.commands.AbstractHandler;
import org.eclipse.core.commands.ExecutionEvent;
*
*/
-package com.samsung.linuxplatform.oprofile.ui.handler;
+package com.samsung.tizen.oprofile.ui.handler;
import java.io.File;
import java.io.FileWriter;
import org.eclipse.ui.IViewPart;
import org.eclipse.ui.handlers.HandlerUtil;
-import com.samsung.slp.common.manager.StatusLineMessageManager;
-import com.samsung.slp.common.util.DialogUtil;
+import com.samsung.tizen.common.manager.StatusLineMessageManager;
+import com.samsung.tizen.common.util.DialogUtil;
public class OprofileSaveFileHandler extends AbstractHandler {
private IViewPart part;
private UiModelRoot uiModel;
private final String title = "Save File";
- private final String PARAMETER_ID = "com.samsung.linuxplatform.oprofile.command.saveFile.parameter";
+ private final String PARAMETER_ID = "com.samsung.tizen.oprofile.command.saveFile.parameter";
public Object execute(ExecutionEvent event) throws ExecutionException {
*
*/
-package com.samsung.linuxplatform.oprofile.ui.view;
+package com.samsung.tizen.oprofile.ui.view;
import org.eclipse.jface.text.BadLocationException;
import org.eclipse.jface.viewers.DoubleClickEvent;
*
*/
-package com.samsung.linuxplatform.oprofile.ui.view;
+package com.samsung.tizen.oprofile.ui.view;
import org.eclipse.jface.viewers.ITableLabelProvider;
import org.eclipse.jface.viewers.LabelProvider;
import org.eclipse.ui.forms.widgets.Section;
import org.eclipse.ui.part.ViewPart;
-import com.samsung.linuxplatform.oprofile.core.OprofileComm;
-import com.samsung.linuxplatform.oprofile.ui.view.OprofileViewLabelProvider;
+import com.samsung.tizen.oprofile.core.OprofileComm;
+import com.samsung.tizen.oprofile.ui.view.OprofileViewLabelProvider;
/**
* The view for the OProfile plugin. Shows the elements gathered by the data model
<extension
point="org.eclipse.ui.views">
<category
- id="com.samsung.slp.nativeide.viewCategory"
+ id="com.samsung.tizen.nativeide.viewCategory"
name="%category.name.0">
</category>
</extension>
org.eclipse.linuxtools.valgrind.core,\r
org.eclipse.linuxtools.valgrind.launch,\r
org.eclipse.linuxtools.valgrind.ui,\r
- com.samsung.slp.nativeide;bundle-version="1.0.0",\r
- com.samsung.slp.common;bundle-version="1.3.20",\r
- com.samsung.slp.common.connection;bundle-version="1.0.0"\r
+ com.samsung.tizen.nativeapp;bundle-version="1.0.0",\r
+ com.samsung.tizen.common;bundle-version="1.3.20",\r
+ com.samsung.tizen.common.connection;bundle-version="1.0.0"\r
Bundle-Vendor: Eclipse Linux Tools\r
Bundle-Version: 1.3.18.qualifier\r
Bundle-Localization: plugin\r
<extension
point="org.eclipse.debug.core.launchConfigurationTypes">
<launchConfigurationType
- delegate="org.eclipse.linuxtools.valgrind.launch.SLPValgrindLaunchDelegate"
+ delegate="org.eclipse.linuxtools.valgrind.launch.TizenValgrindLaunchDelegate"
id="org.eclipse.linuxtools.valgrind.launch.valgrindLaunch"
modes="profile"
name="%launchConfigurationType.name.0"
</contextualLaunch>
<description
mode="profile"
- description="Profile a SLP application with Valgrind"/>
+ description="Profile a Tizen application with Valgrind"/>
<configurationType
id="org.eclipse.linuxtools.valgrind.launch.valgrindLaunch">
</configurationType>
import java.io.IOException;
import java.io.InputStreamReader;
-import com.samsung.slp.common.connection.ConnectionPlugin;
-import com.samsung.slp.sdblib.IDevice;
-import com.samsung.slp.sdblib.MultiLineReceiver;
-import com.samsung.slp.sdblib.SdbCommandRejectedException;
-import com.samsung.slp.sdblib.SdbShellProcess;
-import com.samsung.slp.sdblib.ShellCommandUnresponsiveException;
-import com.samsung.slp.sdblib.SyncService;
-import com.samsung.slp.sdblib.SyncService.SyncResult;
-import com.samsung.slp.sdblib.TimeoutException;
+import com.samsung.tizen.common.connection.ConnectionPlugin;
+import com.samsung.tizen.sdblib.IDevice;
+import com.samsung.tizen.sdblib.MultiLineReceiver;
+import com.samsung.tizen.sdblib.SdbCommandRejectedException;
+import com.samsung.tizen.sdblib.SdbShellProcess;
+import com.samsung.tizen.sdblib.ShellCommandUnresponsiveException;
+import com.samsung.tizen.sdblib.SyncService;
+import com.samsung.tizen.sdblib.SyncService.SyncResult;
+import com.samsung.tizen.sdblib.TimeoutException;
class CommonReceiver extends MultiLineReceiver {
/*
- * SLP Valgrind Launch Delegate
+ * Tizen Valgrind Launch Delegate
*
* Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
*
import org.eclipse.ui.PartInitException;
import org.eclipse.ui.PlatformUI;
-import com.samsung.slp.common.properties.InstallPathConfig;
-import com.samsung.slp.nativeide.launch.SLPLaunchDelegate;
-import com.samsung.slp.nativeide.launch.SLPLaunchMessages;
+import com.samsung.tizen.common.properties.InstallPathConfig;
+import com.samsung.tizen.nativeapp.launch.TizenLaunchDelegate;
+import com.samsung.tizen.nativeapp.launch.TizenLaunchMessages;
-public class SLPValgrindLaunchDelegate extends SLPLaunchDelegate {
+public class TizenValgrindLaunchDelegate extends TizenLaunchDelegate {
protected static final String MAKE_DIRECTORY_CMD = "mkdir -p ";
protected static final String CHANGE_DIRECTORY_CMD = "cd ";
if (monitor == null)
monitor = new NullProgressMonitor();
try {
- monitor.beginTask(SLPLaunchMessages.LAUNCH_APPLICATION, 30);
+ monitor.beginTask(TizenLaunchMessages.LAUNCH_APPLICATION, 30);
activateProgressView();
launchApplicationWithValgrind(launch, config, monitor);
} else {
- newCoreException(SLPLaunchMessages.CANNOT_LAUNCH, null);
+ newCoreException(TizenLaunchMessages.CANNOT_LAUNCH, null);
}
} finally {
monitor.done();
if (!CommandManager.isRunSeccessfuly(resultRsp)) {
if (CommandManager.isEmulator()) {
newCoreException(
- SLPLaunchMessages.CANNOT_LAUNCH,
+ TizenLaunchMessages.CANNOT_LAUNCH,
new Exception(
"No valgrind in this target (/usr/bin/valgrind). "));
} else {
// resultRsp = session.run(cmd, null);
resultRsp = CommandManager.runCommandReturningResult(cmd);
if (!CommandManager.isRunSeccessfuly(resultRsp))
- newCoreException(SLPLaunchMessages.CANNOT_LAUNCH,
+ newCoreException(TizenLaunchMessages.CANNOT_LAUNCH,
new Exception("Cannot change to run-directory : "
+ ". (Return Code: " + resultRsp
+ ", exepath: " + remoteExePath + ")"));
resultRsp = CommandManager.runCommandReturningResult(cmd);
if (!CommandManager.isRunSeccessfuly(resultRsp))
newCoreException(
- SLPLaunchMessages.CANNOT_LAUNCH,
+ TizenLaunchMessages.CANNOT_LAUNCH,
new Exception(
"Executable does not exist on a valid path. You must install your application before running it."));
} catch (CoreException e) {
throw e;
} catch (Exception e) {
- newCoreException(SLPLaunchMessages.CANNOT_LAUNCH, e);
+ newCoreException(TizenLaunchMessages.CANNOT_LAUNCH, e);
} finally {
if (monitor.isCanceled()) {
throw new OperationCanceledException();
import org.eclipse.debug.ui.ILaunchConfigurationDialog;
import org.eclipse.linuxtools.profiling.launch.ProfileLaunchConfigurationTabGroup;
-import com.samsung.slp.nativeide.launch.ui.SLPArgumentsTab;
-import com.samsung.slp.nativeide.launch.ui.SLPEnvironmentTab;
-import com.samsung.slp.nativeide.launch.ui.SLPMainTab;
+import com.samsung.tizen.nativeapp.launch.ui.TizenArgumentsTab;
+import com.samsung.tizen.nativeapp.launch.ui.TizenEnvironmentTab;
+import com.samsung.tizen.nativeapp.launch.ui.TizenMainTab;
public class ValgrindLaunchConfigurationTabGroup extends ProfileLaunchConfigurationTabGroup {
//
// }
ArrayList<AbstractLaunchConfigurationTab> tabs = new ArrayList<AbstractLaunchConfigurationTab>();
- tabs.add(new SLPMainTab());
- tabs.add(new SLPArgumentsTab());
+ tabs.add(new TizenMainTab());
+ tabs.add(new TizenArgumentsTab());
tabs.addAll(Arrays.asList(getProfileTabs()));
- tabs.add(new SLPEnvironmentTab());
+ tabs.add(new TizenEnvironmentTab());
// tabs.add(new SboxSourceLookupTab());
setTabs(tabs.toArray(new AbstractLaunchConfigurationTab[tabs.size()]));
// commented by greatim at 2011.06.01 for fresh ide
//-- bery 20090715
// wc.setAttribute(ISMLCDTLaunchConstants.ATTR_LAUNCH_MODE, "valgrind");
-// wc.setAttribute(ISMLCDTLaunchConstants.ATTR_DEPLOYER_TYPE, "com.samsung.linuxplatform.launcher.slp20");
// wc.setAttribute(ISMLCDTLaunchConstants.ATTR_SKIP_DOWNLOAD, false);
// wc.setAttribute(ISMLCDTLaunchConstants.ATTR_GDBSERVER_PORT, "9999");
wc.setAttribute(IDebugUIConstants.ATTR_LAUNCH_IN_BACKGROUND, true);
org.eclipse.linuxtools.valgrind.core,
org.eclipse.linuxtools.valgrind.launch,
org.eclipse.linuxtools.valgrind.ui,
- com.samsung.slp.nativeide;bundle-version="1.0.0",
+ com.samsung.tizen.nativeapp;bundle-version="1.0.0",
org.eclipse.linuxtools.valgrind.launch.exe;bundle-version="1.3.18"
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Bundle-ActivationPolicy: lazy
Bundle-Localization: plugin
-Export-Package: com.samsung.linuxplatform.valgrind.massif.editor,
+Export-Package: com.samsung.tizen.valgrind.massif.editor,
org.eclipse.linuxtools.valgrind.massif,
org.eclipse.linuxtools.valgrind.massif.birt;uses:="org.eclipse.swt.events,org.eclipse.swt.widgets,org.eclipse.birt.chart.model"
name="%editor.name.0">
</editor>
<editor
- class="com.samsung.linuxplatform.valgrind.massif.editor.MassifEditor"
+ class="com.samsung.tizen.valgrind.massif.editor.MassifEditor"
default="true"
extensions="massif"
icon="icons/memory_view.gif"
- id="com.samsung.linuxplatform.valgrind.memcheck.editor.MassifEditor"
+ id="com.samsung.tizen.valgrind.memcheck.editor.MassifEditor"
name="Massif Editor">
</editor>
</extension>
*
*/
-package com.samsung.linuxplatform.valgrind.massif.editor;
+package com.samsung.tizen.valgrind.massif.editor;
import java.io.File;
import java.io.FileFilter;
+++ /dev/null
-/*******************************************************************************
- * Copyright (c) 2008 Red Hat, Inc.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Elliott Baron <ebaron@redhat.com> - initial API and implementation
- *******************************************************************************/
-package org.eclipse.linuxtools.valgrind.massif;
-
-import java.io.File;
-import java.io.FileFilter;
-import java.io.IOException;
-import java.util.ArrayList;
-import java.util.Collections;
-import java.util.List;
-
-import org.eclipse.cdt.debug.core.ICDTLaunchConfigurationConstants;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.debug.core.ILaunch;
-import org.eclipse.debug.core.ILaunchConfiguration;
-import org.eclipse.linuxtools.valgrind.core.ValgrindCommand;
-import org.eclipse.linuxtools.valgrind.launch.IValgrindLaunchDelegate;
-import org.eclipse.linuxtools.valgrind.launch.ValgrindLaunchConfigurationDelegate;
-import org.eclipse.linuxtools.valgrind.ui.*;
-
-import com.samsung.linuxplatform.connection.api.ITargetControl;
-import com.samsung.linuxplatform.connection.api.ScratchboxPlugin;
-
-public class MassifLaunchDelegate extends ValgrindLaunchConfigurationDelegate
-implements IValgrindLaunchDelegate {
- protected static final String OUT_PREFIX = "massif_"; //$NON-NLS-1$
- protected static final String OUT_FILE = OUT_PREFIX + "%p.txt"; //$NON-NLS-1$
- protected static final FileFilter MASSIF_FILTER = new FileFilter() {
- public boolean accept(File pathname) {
- return pathname.getName().startsWith(OUT_PREFIX);
- }
- };
-
- // Valgrind program arguments
- public static final String OPT_MASSIF_OUTFILE = "--massif-out-file"; //$NON-NLS-1$
- public static final String OPT_HEAP = "--heap"; //$NON-NLS-1$
- public static final String OPT_HEAPADMIN = "--heap-admin"; //$NON-NLS-1$
- public static final String OPT_STACKS = "--stacks"; //$NON-NLS-1$
- public static final String OPT_DEPTH = "--depth"; //$NON-NLS-1$
- public static final String OPT_ALLOCFN = "--alloc-fn"; //$NON-NLS-1$
- public static final String OPT_THRESHOLD = "--threshold"; //$NON-NLS-1$
- public static final String OPT_PEAKINACCURACY = "--peak-inaccuracy"; //$NON-NLS-1$
- public static final String OPT_TIMEUNIT = "--time-unit"; //$NON-NLS-1$
- public static final String OPT_DETAILEDFREQ = "--detailed-freq"; //$NON-NLS-1$
- public static final String OPT_MAXSNAPSHOTS = "--max-snapshots"; //$NON-NLS-1$
- public static final String OPT_ALIGNMENT = "--alignment"; //$NON-NLS-1$
-
- protected MassifOutput output;
-
- public void launch(ValgrindCommand command, ILaunchConfiguration config, ILaunch launch, IProgressMonitor monitor, Process remoteShellProcess)
- throws CoreException {
- MassifPlugin.getDefault().setConfig(config);
- MassifPlugin.getDefault().setSourceLocator(launch.getSourceLocator());
- try {
- //command.getProcess().waitFor();
-
- remoteShellProcess.waitFor();
-
- ITargetControl tc = ScratchboxPlugin.getTargetControl();
- File datfile = command.getDatadir();
- File outdatafile = new File (tc.getHostpathFromSboxpath(datfile.toString()));
- File[] massifOutputs = outdatafile.listFiles(MASSIF_FILTER);// command.getDatadir().listFiles(LOG_FILTER);
- //File[] massifOutputs = command.getDatadir().listFiles(MASSIF_FILTER);
-
- parseOutput(massifOutputs);
- } catch (InterruptedException e) {
- } catch (IOException e) {
- e.printStackTrace();
- abort(Messages.getString("MassifLaunchDelegate.Error_parsing_output"), e, ICDTLaunchConfigurationConstants.ERR_INTERNAL_ERROR); //$NON-NLS-1$
- }
-
- }
-
- protected void parseOutput(File[] massifOutputs) throws IOException {
- output = new MassifOutput();
- for (File file : massifOutputs) {
- MassifParser parser = new MassifParser(file);
- output.putSnapshots(parser.getPid(), parser.getSnapshots());
- }
-
- ValgrindViewPart view = ValgrindUIPlugin.getDefault().getView();
- IValgrindToolView massifPart = view.getDynamicView();
- if (massifPart instanceof MassifViewPart) {
- ((MassifViewPart) massifPart).setOutput(output);
- // initialize to first pid
- ((MassifViewPart) massifPart).setPid(output.getPids()[0]);
- }
- }
-
- public String[] getCommandArray(ValgrindCommand command, ILaunchConfiguration config)
- throws CoreException {
- ArrayList<String> opts = new ArrayList<String>();
-
- try {
- opts.add(OPT_MASSIF_OUTFILE + EQUALS + command.getDatadir().getCanonicalPath() + File.separator + OUT_FILE);
-
- opts.add(OPT_HEAP + EQUALS + (config.getAttribute(MassifToolPage.ATTR_MASSIF_HEAP, true) ? YES : NO));
- opts.add(OPT_HEAPADMIN + EQUALS + config.getAttribute(MassifToolPage.ATTR_MASSIF_HEAPADMIN, 8));
- opts.add(OPT_STACKS + EQUALS + (config.getAttribute(MassifToolPage.ATTR_MASSIF_STACKS, false) ? YES : NO));
- opts.add(OPT_DEPTH + EQUALS + config.getAttribute(MassifToolPage.ATTR_MASSIF_DEPTH, 30));
- List<String> allocFns = config.getAttribute(MassifToolPage.ATTR_MASSIF_ALLOCFN, Collections.EMPTY_LIST);
- for (String func : allocFns) {
- opts.add(OPT_ALLOCFN + EQUALS + func);
- }
- opts.add(OPT_THRESHOLD + EQUALS + config.getAttribute(MassifToolPage.ATTR_MASSIF_THRESHOLD, 10) / 10.0);
- opts.add(OPT_PEAKINACCURACY + EQUALS + config.getAttribute(MassifToolPage.ATTR_MASSIF_PEAKINACCURACY, 10) / 10.0);
- opts.add(OPT_TIMEUNIT + EQUALS + config.getAttribute(MassifToolPage.ATTR_MASSIF_TIMEUNIT, MassifToolPage.TIME_I));
- opts.add(OPT_DETAILEDFREQ + EQUALS + config.getAttribute(MassifToolPage.ATTR_MASSIF_DETAILEDFREQ, 10));
- opts.add(OPT_MAXSNAPSHOTS + EQUALS + config.getAttribute(MassifToolPage.ATTR_MASSIF_MAXSNAPSHOTS, 100));
- opts.add(OPT_ALIGNMENT + EQUALS + config.getAttribute(MassifToolPage.ATTR_MASSIF_ALIGNMENT, 8));
- } catch (IOException e) {
- abort(Messages.getString("MassifLaunchDelegate.Retrieving_massif_data_dir"), e, ICDTLaunchConfigurationConstants.ERR_INTERNAL_ERROR); //$NON-NLS-1$
- }
-
- return opts.toArray(new String[opts.size()]);
- }
-
-// public void restoreState(HistoryEntry entry) throws CoreException {
-// try {
-// Map<?, ?> config = entry.getAttributes();
-// MassifPlugin.getDefault().setConfig(config);
-//
-// // retrieve or create sourceLocator
-// ILaunch launch = new Launch(config, ILaunchManager.PROFILE_MODE, null);
-// setDefaultSourceLocator(launch, config);
-// MassifPlugin.getDefault().setSourceLocator(launch.getSourceLocator());
-//
-// File[] massifOutputs = entry.getDatadir().listFiles(MASSIF_FILTER);
-// parseOutput(massifOutputs);
-// } catch (IOException e) {
-// e.printStackTrace();
-// abort(Messages.getString("MassifLaunchDelegate.Error_parsing_output"), e, ICDTLaunchConfigurationConstants.ERR_INTERNAL_ERROR); //$NON-NLS-1$
-// }
-// }
-//
-// public void saveState(HistoryEntry entry) throws CoreException {
-// }
-
-}
import org.eclipse.linuxtools.valgrind.launch.ValgrindLaunchPlugin;
import org.eclipse.linuxtools.valgrind.ui.*;
-import com.samsung.slp.nativeide.launch.SLPLaunchDelegate;
+import com.samsung.tizen.nativeapp.launch.TizenLaunchDelegate;
import org.eclipse.linuxtools.valgrind.launch.CommandManager;
-public class MassifLaunchDelegate extends SLPLaunchDelegate implements
+public class MassifLaunchDelegate extends TizenLaunchDelegate implements
IValgrindLaunchDelegate {
// valgrind
org.eclipse.linuxtools.valgrind.core,
org.eclipse.linuxtools.valgrind.launch,
org.eclipse.linuxtools.valgrind.ui,
- com.samsung.slp.nativeide;bundle-version="1.0.0",
- com.samsung.slp.common;bundle-version="1.3.20",
+ com.samsung.tizen.nativeapp;bundle-version="1.0.0",
+ com.samsung.tizen.common;bundle-version="1.3.20",
org.eclipse.linuxtools.valgrind.launch.exe;bundle-version="1.3.18"
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Bundle-ActivationPolicy: lazy
<extension
point="org.eclipse.ui.editors">
<editor
- class="com.samsung.linuxplatform.valgrind.memcheck.editor.MemcheckEditor"
+ class="com.samsung.tizen.valgrind.memcheck.editor.MemcheckEditor"
default="true"
extensions="memcheck"
icon="icons/valgrind-icon.png"
- id="com.samsung.linuxplatform.valgrind.memcheck.editor.MemcheckEditor"
+ id="com.samsung.tizen.valgrind.memcheck.editor.MemcheckEditor"
name="Memcheck Editor">
</editor>
</extension>
*
*/
-package com.samsung.linuxplatform.valgrind.memcheck.editor;
+package com.samsung.tizen.valgrind.memcheck.editor;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import org.eclipse.linuxtools.valgrind.ui.ValgrindViewPart;
import org.xml.sax.SAXException;
-import com.samsung.slp.nativeide.launch.SLPLaunchDelegate;
+import com.samsung.tizen.nativeapp.launch.TizenLaunchDelegate;
-public class MemcheckLaunchDelegate extends SLPLaunchDelegate implements IValgrindLaunchDelegate {
+public class MemcheckLaunchDelegate extends TizenLaunchDelegate implements IValgrindLaunchDelegate {
// Valgrind program arguments
public static final String OPT_LEAKCHECK = "--leak-check"; //$NON-NLS-1$
public static final String OPT_SHOWREACH = "--show-reachable"; //$NON-NLS-1$
Bundle-Vendor: Eclipse Linux Tools
Require-Bundle: org.eclipse.ui,
org.eclipse.core.runtime,
- com.samsung.slp.common;bundle-version="1.3.20"
+ com.samsung.tizen.common;bundle-version="1.3.20"
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Bundle-ActivationPolicy: lazy
Export-Package: org.eclipse.linuxtools.valgrind.ui
point="org.eclipse.ui.views">
<view
allowMultiple="false"
- category="com.samsung.slp.nativeide.viewCategory"
+ category="com.samsung.tizen.nativeapp.viewCategory"
class="org.eclipse.linuxtools.valgrind.ui.ValgrindViewPart"
icon="icons/valgrind-icon.png"
id="org.eclipse.linuxtools.valgrind.ui.valgrindview"
<menuContribution
locationURI="toolbar:org.eclipse.linuxtools.valgrind.ui.valgrindview?after=additions">
<command
- commandId="com.samsung.linuxplatform.valgrind.command.saveFile"
+ commandId="com.samsung.tizen.valgrind.command.saveFile"
icon="icons/save_log.png"
tooltip="Save file">
<parameter
- name="com.samsung.linuxplatform.valgrind.command.saveFile.parameter"
+ name="com.samsung.tizen.valgrind.command.saveFile.parameter"
value="memcheck">
</parameter>
</command>
<command
- commandId="com.samsung.linuxplatform.common.command.openFile"
+ commandId="com.samsung.tizen.common.command.openFile"
icon="icons/open_log.png"
tooltip="Open file">
<parameter
- name="com.samsung.linuxplatform.common.command.openFile.parameter"
+ name="com.samsung.tizen.common.command.openFile.parameter"
value="*">
</parameter>
</command>
<extension
point="org.eclipse.ui.handlers">
<handler
- class="com.samsung.linuxplatform.valgrind.ui.handler.ValgrindSaveFileHandler"
- commandId="com.samsung.linuxplatform.valgrind.command.saveFile">
+ class="com.samsung.tizen.valgrind.ui.handler.ValgrindSaveFileHandler"
+ commandId="com.samsung.tizen.valgrind.command.saveFile">
</handler>
</extension>
<extension
point="org.eclipse.ui.commands">
<category
description="Commands related to the Valgrind"
- id="com.samsung.linuxplatform.valgrind.ui.command.category"
+ id="com.samsung.tizen.valgrind.ui.command.category"
name="Valgrind">
</category>
<command
- categoryId="com.samsung.linuxplatform.valgrind.ui.command.category"
+ categoryId="com.samsung.tizen.valgrind.ui.command.category"
description="Save"
- id="com.samsung.linuxplatform.valgrind.command.saveFile"
+ id="com.samsung.tizen.valgrind.command.saveFile"
name="Save">
<commandParameter
- id="com.samsung.linuxplatform.valgrind.command.saveFile.parameter"
+ id="com.samsung.tizen.valgrind.command.saveFile.parameter"
name="Extension"
optional="false">
</commandParameter>
*
*/
-package com.samsung.linuxplatform.valgrind.ui.handler;
+package com.samsung.tizen.valgrind.ui.handler;
import org.eclipse.core.commands.AbstractHandler;
import org.eclipse.core.commands.ExecutionEvent;
*
*/
-package com.samsung.linuxplatform.valgrind.ui.handler;
+package com.samsung.tizen.valgrind.ui.handler;
import java.io.File;
import java.io.FileReader;
import org.eclipse.ui.IViewPart;
import org.eclipse.ui.handlers.HandlerUtil;
-import com.samsung.slp.common.manager.StatusLineMessageManager;
-import com.samsung.slp.common.util.DialogUtil;
+import com.samsung.tizen.common.manager.StatusLineMessageManager;
+import com.samsung.tizen.common.util.DialogUtil;
public class ValgrindSaveFileHandler extends AbstractHandler {
private IViewPart part;
private StatusLineMessageManager statusLine;
private final String title = "Save File";
-// private final String PARAMETER_ID = "com.samsung.linuxplatform.valgrind.command.saveFile.parameter";