Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeneviève Bastien2019-08-05 12:53:16 -0400
committerGenevieve Bastien2019-08-05 13:20:20 -0400
commit1b3eaec1f86cd8b18df528399e2844a8c7b6316d (patch)
tree34cfb8d44a3add08b7d778b61b2bed68199d7254
parent13e877e785fcfc178b7e1e1bc3867bfd7c074ffc (diff)
downloadorg.eclipse.tracecompass.incubator-1b3eaec1f86cd8b18df528399e2844a8c7b6316d.tar.gz
org.eclipse.tracecompass.incubator-1b3eaec1f86cd8b18df528399e2844a8c7b6316d.tar.xz
org.eclipse.tracecompass.incubator-1b3eaec1f86cd8b18df528399e2844a8c7b6316d.zip
uftrace: Use ThreadNameAspect for thread name
[Fix] uftrace thread name extends base ThreadNameAspect Change-Id: Ife7f575f27efd36e6cff1f3ced9ba19f30a4ff91 Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net> Reviewed-on: https://git.eclipse.org/r/147073 Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com> Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com> Tested-by: CI Bot
-rw-r--r--tracetypes/org.eclipse.tracecompass.incubator.uftrace.core/src/org/eclipse/tracecompass/incubator/internal/uftrace/core/trace/Uftrace.java12
1 files changed, 2 insertions, 10 deletions
diff --git a/tracetypes/org.eclipse.tracecompass.incubator.uftrace.core/src/org/eclipse/tracecompass/incubator/internal/uftrace/core/trace/Uftrace.java b/tracetypes/org.eclipse.tracecompass.incubator.uftrace.core/src/org/eclipse/tracecompass/incubator/internal/uftrace/core/trace/Uftrace.java
index 2d77f193..379b3223 100644
--- a/tracetypes/org.eclipse.tracecompass.incubator.uftrace.core/src/org/eclipse/tracecompass/incubator/internal/uftrace/core/trace/Uftrace.java
+++ b/tracetypes/org.eclipse.tracecompass.incubator.uftrace.core/src/org/eclipse/tracecompass/incubator/internal/uftrace/core/trace/Uftrace.java
@@ -34,6 +34,7 @@ import org.eclipse.jdt.annotation.NonNull;
import org.eclipse.jdt.annotation.Nullable;
import org.eclipse.tracecompass.analysis.os.linux.core.event.aspect.LinuxPidAspect;
import org.eclipse.tracecompass.analysis.os.linux.core.event.aspect.LinuxTidAspect;
+import org.eclipse.tracecompass.incubator.analysis.core.aspects.ThreadNameAspect;
import org.eclipse.tracecompass.incubator.internal.uftrace.core.Activator;
import org.eclipse.tracecompass.incubator.internal.uftrace.core.trace.SymParser.Symbol;
import org.eclipse.tracecompass.tmf.core.event.ITmfEvent;
@@ -371,16 +372,7 @@ public class Uftrace extends TmfTrace implements ITmfPropertiesProvider,
*
* @author Matthew Khouzam
*/
- public final class ExecAspect implements ITmfEventAspect<String> {
- @Override
- public @NonNull String getName() {
- return "Executable"; //$NON-NLS-1$
- }
-
- @Override
- public @NonNull String getHelpText() {
- return ""; //$NON-NLS-1$
- }
+ public final class ExecAspect extends ThreadNameAspect {
@Override
public @Nullable String resolve(@NonNull ITmfEvent event) {

Back to the top