commit | 53981cff87ca32c7ca44b5ff425b3311aec2c671 | [log] [tgz] |
---|---|---|
author | Geneviève Bastien <gbastien+lttng@versatic.net> | Thu Dec 12 20:33:24 2019 +0000 |
committer | Genevieve Bastien <gbastien+lttng@versatic.net> | Mon Jan 06 11:51:14 2020 -0500 |
tree | f87b6e0690a45896fb79cfb923e7596d62f2f314 | |
parent | 0ad39c43364ecaf46259ce0317993bb186c01ac2 [diff] |
callstack: Update the symbol's toString method This method is often used in the UI, so remove the prefix and just display the symbol part of the toString() Change-Id: I9f468771ba73e01bfb49d01243fe8495b350a992 Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net> Reviewed-on: https://git.eclipse.org/r/154440 Tested-by: Trace Compass Bot <tracecompass-bot@eclipse.org> Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com> Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
diff --git a/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/internal/callstack/core/symbol/ResolvableSymbol.java b/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/internal/callstack/core/symbol/ResolvableSymbol.java index 629416c..d6cb01d 100644 --- a/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/internal/callstack/core/symbol/ResolvableSymbol.java +++ b/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/internal/callstack/core/symbol/ResolvableSymbol.java
@@ -71,7 +71,7 @@ @Override public String toString() { - return "Resolvable Symbol: 0x" + Long.toHexString(fAddr) + " in " + fPid; //$NON-NLS-1$//$NON-NLS-2$ + return "0x" + Long.toHexString(fAddr) + " in " + fPid; //$NON-NLS-1$//$NON-NLS-2$ } }
diff --git a/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/internal/callstack/core/symbol/StringSymbol.java b/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/internal/callstack/core/symbol/StringSymbol.java index 0ee4483..0496068 100644 --- a/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/internal/callstack/core/symbol/StringSymbol.java +++ b/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/internal/callstack/core/symbol/StringSymbol.java
@@ -58,6 +58,6 @@ @Override public String toString() { - return "String Symbol: " + fSymbol; //$NON-NLS-1$ + return String.valueOf(fSymbol); } }