aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrajesh2014-01-31 11:54:01 (EST)
committerRodrigo Fraxino Araujo2014-01-31 13:14:19 (EST)
commit8512977b67b4d36dad1fdafea98c8fea6e48515d (patch)
tree5a2910dc489ce708695b8ad202d4be062d234937
parentd6567bc4c452a7dda7568e5a7b69eee193cd3243 (diff)
downloadorg.eclipse.linuxtools-8512977b67b4d36dad1fdafea98c8fea6e48515d.zip
org.eclipse.linuxtools-8512977b67b4d36dad1fdafea98c8fea6e48515d.tar.gz
org.eclipse.linuxtools-8512977b67b4d36dad1fdafea98c8fea6e48515d.tar.bz2
[oprofile]: operf is getting the min. count for the eventsrefs/changes/05/21405/2
profiling using operf alway getting the min. count values for the events instead of getting modified value of the GUI.this patch fix this issue. Change-Id: Ie166a8afae5629b4affab3b75a38233c63558208 Signed-off-by: Brajesh <brrathor@linux.vnet.ibm.com> Reviewed-on: https://git.eclipse.org/r/21405 Tested-by: Hudson CI Reviewed-by: Rodrigo Fraxino Araujo <rfaraujo@linux.vnet.ibm.com> IP-Clean: Rodrigo Fraxino Araujo <rfaraujo@linux.vnet.ibm.com> Tested-by: Rodrigo Fraxino Araujo <rfaraujo@linux.vnet.ibm.com>
-rw-r--r--oprofile/org.eclipse.linuxtools.oprofile.launch/src/org/eclipse/linuxtools/internal/oprofile/launch/launching/AbstractOprofileLaunchConfigurationDelegate.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/oprofile/org.eclipse.linuxtools.oprofile.launch/src/org/eclipse/linuxtools/internal/oprofile/launch/launching/AbstractOprofileLaunchConfigurationDelegate.java b/oprofile/org.eclipse.linuxtools.oprofile.launch/src/org/eclipse/linuxtools/internal/oprofile/launch/launching/AbstractOprofileLaunchConfigurationDelegate.java
index f3a0dcc..48f60fb 100644
--- a/oprofile/org.eclipse.linuxtools.oprofile.launch/src/org/eclipse/linuxtools/internal/oprofile/launch/launching/AbstractOprofileLaunchConfigurationDelegate.java
+++ b/oprofile/org.eclipse.linuxtools.oprofile.launch/src/org/eclipse/linuxtools/internal/oprofile/launch/launching/AbstractOprofileLaunchConfigurationDelegate.java
@@ -117,7 +117,7 @@ public abstract class AbstractOprofileLaunchConfigurationDelegate extends Profil
String eventsString=EVENTS;
for (int i=0;i<events.size();i++) {
- eventsString+=events.get(i).getEvent().getText() + ":" + events.get(i).getEvent().getMinCount() + ","; //$NON-NLS-1$ //$NON-NLS-2$
+ eventsString+=events.get(i).getEvent().getText() + ":" + events.get(i).getResetCount() + ","; //$NON-NLS-1$ //$NON-NLS-2$
}
ArrayList<String> argArray = new ArrayList<>(Arrays.asList(getProgramArgumentsArray( config )));