aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrajesh2014-01-31 11:54:01 -0500
committerJeff Johnston2014-01-31 15:11:27 -0500
commit5e24326439bceabf28e81530939bec7c2646abf5 (patch)
tree4441a0ba347fe18ee01965909519fca2b3dd218b
parent390ed2f776c7d5412486a0d5c9412ed0536ecddd (diff)
downloadorg.eclipse.linuxtools-5e24326439bceabf28e81530939bec7c2646abf5.zip
org.eclipse.linuxtools-5e24326439bceabf28e81530939bec7c2646abf5.tar.gz
org.eclipse.linuxtools-5e24326439bceabf28e81530939bec7c2646abf5.tar.xz
[oprofile]: operf is getting the min. count for the events
Fix for Bug 427121 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> Reviewed-on: https://git.eclipse.org/r/21413 Reviewed-by: Jeff Johnston <jjohnstn@redhat.com> IP-Clean: Jeff Johnston <jjohnstn@redhat.com> Tested-by: Jeff Johnston <jjohnstn@redhat.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 7a8478c..9fd0237 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
@@ -115,7 +115,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<String>(Arrays.asList(getProgramArgumentsArray( config )));