Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Johnston2018-08-22 15:41:45 -0400
committerJeff Johnston2018-08-22 17:11:34 -0400
commit67ef54f347df96e2bd8ab2e6d8c03f717e3e9f5b (patch)
treed30577af48132bb010ef2f0ae7ba98ed32514636
parent6fdd91938e3e597df978b37ec8e980bb28d7952e (diff)
downloadorg.eclipse.linuxtools-67ef54f347df96e2bd8ab2e6d8c03f717e3e9f5b.tar.gz
org.eclipse.linuxtools-67ef54f347df96e2bd8ab2e6d8c03f717e3e9f5b.tar.xz
org.eclipse.linuxtools-67ef54f347df96e2bd8ab2e6d8c03f717e3e9f5b.zip
Bug 526553 - gprof reader fails
- add check for amd64 cpu in GmonDecoder constructor Change-Id: Ic8f3e436aac55d89c4ee94784839cf36aea1997c Reviewed-on: https://git.eclipse.org/r/127879 Tested-by: CI Bot Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
-rw-r--r--gprof/org.eclipse.linuxtools.gprof/src/org/eclipse/linuxtools/internal/gprof/parser/GmonDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/gprof/org.eclipse.linuxtools.gprof/src/org/eclipse/linuxtools/internal/gprof/parser/GmonDecoder.java b/gprof/org.eclipse.linuxtools.gprof/src/org/eclipse/linuxtools/internal/gprof/parser/GmonDecoder.java
index c21aef1db9..b63115eae1 100644
--- a/gprof/org.eclipse.linuxtools.gprof/src/org/eclipse/linuxtools/internal/gprof/parser/GmonDecoder.java
+++ b/gprof/org.eclipse.linuxtools.gprof/src/org/eclipse/linuxtools/internal/gprof/parser/GmonDecoder.java
@@ -88,7 +88,7 @@ public class GmonDecoder {
this.project = project;
program.getBinaryParser().getFormat();
String cpu = program.getCPU();
- if (Platform.ARCH_X86_64.equals(cpu) || "aarch64".equals(cpu) || "ppc64".equals(cpu)) { //$NON-NLS-1$
+ if (Platform.ARCH_X86_64.equals(cpu) || "amd64".equals(cpu) || "aarch64".equals(cpu) || "ppc64".equals(cpu)) { //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
histo = new HistogramDecoder64(this);
callGraph = new CallGraphDecoder64(this);
_32_bit_platform = false;

Back to the top