Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--oprofile/org.eclipse.linuxtools.oprofile.core/ChangeLog24
-rw-r--r--oprofile/org.eclipse.linuxtools.oprofile.core/META-INF/MANIFEST.MF2
-rw-r--r--oprofile/org.eclipse.linuxtools.oprofile.core/src/org/eclipse/linuxtools/oprofile/core/daemon/OpInfo.java1
3 files changed, 25 insertions, 2 deletions
diff --git a/oprofile/org.eclipse.linuxtools.oprofile.core/ChangeLog b/oprofile/org.eclipse.linuxtools.oprofile.core/ChangeLog
index eb6d7faac5..ee7b2d0d56 100644
--- a/oprofile/org.eclipse.linuxtools.oprofile.core/ChangeLog
+++ b/oprofile/org.eclipse.linuxtools.oprofile.core/ChangeLog
@@ -1,3 +1,27 @@
+2011-12-04 Rafael Teixeira <rafaelmt@linux.vnet.ibm.com>
+
+ * META-INF/MANIFEST.MF: Add org.eclipse.linuxtools.tools.launch.core
+ to required bundles.
+ * op_error_key: Add error key opcontrolSudo
+ * src/org/eclipse/linuxtools/oprofile/core/Oprofile.java: Add currentPath
+ to allow profiling using the Linux Tools path that's set for the
+ current project.
+ * src/org/eclipse/linuxtools/oprofile/core/linux/LinuxOpcontrolProvider.java:
+ Use RuntimeProcessFactory to get Linux Tools path if it's set for
+ the current project.
+ * src/org/eclipse/linuxtools/oprofile/core/linux/OpxmlRunner.java:
+ Use RuntimeProcessFactory to get Linux Tools path if it's set for
+ the current project.
+ * src/org/eclipse/linuxtools/oprofile/core/oprofile.properties:
+ Add error message for executing Oprofile with a different Linux
+ Tools path without putting opcontrol in the sudoers file.
+ * src/org/eclipse/linuxtools/oprofile/core/opxml/EventIdCache.java:
+ Use RuntimeProcessFactory to get Linux Tools path if it's set for
+ the current project.
+ * src/org/eclipse/linuxtools/oprofile/core/opxml/info/InfoAdapter.java:
+ Use RuntimeProcessFactory to get Linux Tools path if it's set for
+ the current project.
+
2011-09-28 Roland Grunberg <rgrunber@redhat.com>
* src/org/eclipse/linuxtools/oprofile/core/opxml/info/InfoAdapter.java
diff --git a/oprofile/org.eclipse.linuxtools.oprofile.core/META-INF/MANIFEST.MF b/oprofile/org.eclipse.linuxtools.oprofile.core/META-INF/MANIFEST.MF
index 93d5af1aa4..d189a5bd83 100644
--- a/oprofile/org.eclipse.linuxtools.oprofile.core/META-INF/MANIFEST.MF
+++ b/oprofile/org.eclipse.linuxtools.oprofile.core/META-INF/MANIFEST.MF
@@ -7,7 +7,7 @@ Bundle-Activator: org.eclipse.linuxtools.oprofile.core.OprofileCorePlugin
Bundle-Vendor: %bundleProvider
Require-Bundle: org.eclipse.core.runtime;bundle-version="3.4.0",
org.eclipse.ui;bundle-version="3.4.0",
- org.eclipse.linuxtools.tools.launch.core;bundle-version="0.8.0"
+ org.eclipse.linuxtools.tools.launch.core
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Bundle-ClassPath: oprofile-core.jar
Bundle-ActivationPolicy: lazy
diff --git a/oprofile/org.eclipse.linuxtools.oprofile.core/src/org/eclipse/linuxtools/oprofile/core/daemon/OpInfo.java b/oprofile/org.eclipse.linuxtools.oprofile.core/src/org/eclipse/linuxtools/oprofile/core/daemon/OpInfo.java
index 18d68a084d..573643ecfd 100644
--- a/oprofile/org.eclipse.linuxtools.oprofile.core/src/org/eclipse/linuxtools/oprofile/core/daemon/OpInfo.java
+++ b/oprofile/org.eclipse.linuxtools.oprofile.core/src/org/eclipse/linuxtools/oprofile/core/daemon/OpInfo.java
@@ -17,7 +17,6 @@ import java.util.Arrays;
import java.util.Comparator;
import java.util.HashMap;
-import org.eclipse.core.resources.IProject;
import org.eclipse.linuxtools.oprofile.core.OprofileCorePlugin;
import org.eclipse.linuxtools.oprofile.core.OpxmlException;
import org.eclipse.linuxtools.oprofile.core.linux.LinuxOpxmlProvider.OpInfoRunner;

Back to the top