From 2ffaa403d9f2eade25e29c9ca63dfa9e23df9d20 Mon Sep 17 00:00:00 2001 From: Arnaud Fiorini Date: Thu, 4 Apr 2024 14:13:25 -0400 Subject: [PATCH] callstack: deprecate all classes that were moved to core Signed-off-by: Arnaud Fiorini --- .../.settings/org.eclipse.jdt.core.prefs | 2 +- .../.settings/org.eclipse.jdt.core.prefs | 2 +- .../incubator/analysis/core/concepts/AggregatedCallSite.java | 1 + .../incubator/analysis/core/concepts/ICallStackSymbol.java | 1 + .../incubator/analysis/core/concepts/ICpuTimeProvider.java | 1 + .../incubator/analysis/core/concepts/ISamplingDataProvider.java | 1 + .../incubator/analysis/core/concepts/IThreadOnCpuProvider.java | 1 + .../incubator/analysis/core/concepts/ProcessStatusInterval.java | 1 + .../tracecompass/incubator/analysis/core/model/IHostModel.java | 1 + .../incubator/analysis/core/model/ModelManager.java | 1 + .../analysis/core/weighted/tree/AllGroupDescriptor.java | 1 + .../analysis/core/weighted/tree/DepthGroupDescriptor.java | 1 + .../incubator/analysis/core/weighted/tree/IDataPalette.java | 1 + .../incubator/analysis/core/weighted/tree/ITree.java | 1 + .../core/weighted/tree/IWeightedTreeGroupDescriptor.java | 1 + .../analysis/core/weighted/tree/IWeightedTreeProvider.java | 1 + .../incubator/analysis/core/weighted/tree/IWeightedTreeSet.java | 1 + .../incubator/analysis/core/weighted/tree/WeightedTree.java | 1 + .../analysis/core/weighted/tree/WeightedTreeGroupBy.java | 1 + .../incubator/analysis/core/weighted/tree/WeightedTreeSet.java | 1 + .../.settings/org.eclipse.jdt.core.prefs | 2 +- .../incubator/callstack/core/base/CallStackElement.java | 1 + .../incubator/callstack/core/base/CallStackGroupDescriptor.java | 1 + .../incubator/callstack/core/base/EdgeStateValue.java | 1 + .../incubator/callstack/core/base/ICallStackElement.java | 1 + .../callstack/core/base/ICallStackGroupDescriptor.java | 1 + .../incubator/callstack/core/callgraph/CallGraph.java | 1 + .../incubator/callstack/core/callgraph/ICallGraphProvider.java | 1 + .../incubator/callstack/core/callgraph/SymbolAspect.java | 1 + .../incubator/callstack/core/flamechart/CallStack.java | 1 + .../callstack/core/flamechart/IEventCallStackProvider.java | 1 + .../incubator/callstack/core/instrumented/CallStackDepth.java | 1 + .../incubator/callstack/core/instrumented/ICalledFunction.java | 1 + .../callstack/core/instrumented/IFlameChartProvider.java | 1 + .../core/instrumented/statesystem/CallStackHostUtils.java | 1 + .../core/instrumented/statesystem/CallStackSeries.java | 1 + .../core/instrumented/statesystem/CallStackStateProvider.java | 1 + .../instrumented/statesystem/InstrumentedCallStackAnalysis.java | 1 + .../callstack/core/lttng2/ust/LttngUstCallStackAnalysis.java | 1 + .../core/lttng2/ust/LttngUstCallStackAnalysisRequirement.java | 1 + .../callstack/core/sampled/callgraph/AggregatedStackTraces.java | 1 + .../sampled/callgraph/ProfilingCallGraphAnalysisModule.java | 1 + .../incubator/callstack/core/symbol/CallStackSymbolFactory.java | 1 + 43 files changed, 43 insertions(+), 3 deletions(-) diff --git a/analyses/org.eclipse.tracecompass.incubator.rocm.core/.settings/org.eclipse.jdt.core.prefs b/analyses/org.eclipse.tracecompass.incubator.rocm.core/.settings/org.eclipse.jdt.core.prefs index 9b22a6801..fa19fabd9 100644 --- a/analyses/org.eclipse.tracecompass.incubator.rocm.core/.settings/org.eclipse.jdt.core.prefs +++ b/analyses/org.eclipse.tracecompass.incubator.rocm.core/.settings/org.eclipse.jdt.core.prefs @@ -32,7 +32,7 @@ org.eclipse.jdt.core.compiler.problem.assertIdentifier=error org.eclipse.jdt.core.compiler.problem.autoboxing=ignore org.eclipse.jdt.core.compiler.problem.comparingIdentical=error org.eclipse.jdt.core.compiler.problem.deadCode=error -org.eclipse.jdt.core.compiler.problem.deprecation=error +org.eclipse.jdt.core.compiler.problem.deprecation=warning org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=enabled org.eclipse.jdt.core.compiler.problem.discouragedReference=warning diff --git a/callstack/org.eclipse.tracecompass.incubator.analysis.core.tests/.settings/org.eclipse.jdt.core.prefs b/callstack/org.eclipse.tracecompass.incubator.analysis.core.tests/.settings/org.eclipse.jdt.core.prefs index 0482be35b..22abfa08e 100644 --- a/callstack/org.eclipse.tracecompass.incubator.analysis.core.tests/.settings/org.eclipse.jdt.core.prefs +++ b/callstack/org.eclipse.tracecompass.incubator.analysis.core.tests/.settings/org.eclipse.jdt.core.prefs @@ -29,7 +29,7 @@ org.eclipse.jdt.core.compiler.problem.assertIdentifier=error org.eclipse.jdt.core.compiler.problem.autoboxing=ignore org.eclipse.jdt.core.compiler.problem.comparingIdentical=error org.eclipse.jdt.core.compiler.problem.deadCode=error -org.eclipse.jdt.core.compiler.problem.deprecation=error +org.eclipse.jdt.core.compiler.problem.deprecation=warning org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=enabled org.eclipse.jdt.core.compiler.problem.discouragedReference=warning diff --git a/callstack/org.eclipse.tracecompass.incubator.analysis.core/src/org/eclipse/tracecompass/incubator/analysis/core/concepts/AggregatedCallSite.java b/callstack/org.eclipse.tracecompass.incubator.analysis.core/src/org/eclipse/tracecompass/incubator/analysis/core/concepts/AggregatedCallSite.java index 625ac7bd7..2ead8e053 100644 --- a/callstack/org.eclipse.tracecompass.incubator.analysis.core/src/org/eclipse/tracecompass/incubator/analysis/core/concepts/AggregatedCallSite.java +++ b/callstack/org.eclipse.tracecompass.incubator.analysis.core/src/org/eclipse/tracecompass/incubator/analysis/core/concepts/AggregatedCallSite.java @@ -27,6 +27,7 @@ * * @author Geneviève Bastien */ +@Deprecated(since="0.10.0", forRemoval=true) public class AggregatedCallSite extends WeightedTree { /** diff --git a/callstack/org.eclipse.tracecompass.incubator.analysis.core/src/org/eclipse/tracecompass/incubator/analysis/core/concepts/ICallStackSymbol.java b/callstack/org.eclipse.tracecompass.incubator.analysis.core/src/org/eclipse/tracecompass/incubator/analysis/core/concepts/ICallStackSymbol.java index ba61b7666..cff647642 100644 --- a/callstack/org.eclipse.tracecompass.incubator.analysis.core/src/org/eclipse/tracecompass/incubator/analysis/core/concepts/ICallStackSymbol.java +++ b/callstack/org.eclipse.tracecompass.incubator.analysis.core/src/org/eclipse/tracecompass/incubator/analysis/core/concepts/ICallStackSymbol.java @@ -18,6 +18,7 @@ /** * @author Geneviève Bastien */ +@Deprecated(since="0.10.0", forRemoval=true) public interface ICallStackSymbol { /** diff --git a/callstack/org.eclipse.tracecompass.incubator.analysis.core/src/org/eclipse/tracecompass/incubator/analysis/core/concepts/ICpuTimeProvider.java b/callstack/org.eclipse.tracecompass.incubator.analysis.core/src/org/eclipse/tracecompass/incubator/analysis/core/concepts/ICpuTimeProvider.java index 6ea349a32..b1b4f051e 100644 --- a/callstack/org.eclipse.tracecompass.incubator.analysis.core/src/org/eclipse/tracecompass/incubator/analysis/core/concepts/ICpuTimeProvider.java +++ b/callstack/org.eclipse.tracecompass.incubator.analysis.core/src/org/eclipse/tracecompass/incubator/analysis/core/concepts/ICpuTimeProvider.java @@ -23,6 +23,7 @@ * NOTE to developers: this interface is used with the composite host model but * won't be necessary anymore once the analyses populate the model directly. */ +@Deprecated(since="0.10.0", forRemoval=true) public interface ICpuTimeProvider { /** diff --git a/callstack/org.eclipse.tracecompass.incubator.analysis.core/src/org/eclipse/tracecompass/incubator/analysis/core/concepts/ISamplingDataProvider.java b/callstack/org.eclipse.tracecompass.incubator.analysis.core/src/org/eclipse/tracecompass/incubator/analysis/core/concepts/ISamplingDataProvider.java index 40e710c31..a2850e6c1 100644 --- a/callstack/org.eclipse.tracecompass.incubator.analysis.core/src/org/eclipse/tracecompass/incubator/analysis/core/concepts/ISamplingDataProvider.java +++ b/callstack/org.eclipse.tracecompass.incubator.analysis.core/src/org/eclipse/tracecompass/incubator/analysis/core/concepts/ISamplingDataProvider.java @@ -18,6 +18,7 @@ * * @author Geneviève Bastien */ +@Deprecated(since="0.10.0", forRemoval=true) public interface ISamplingDataProvider { /** diff --git a/callstack/org.eclipse.tracecompass.incubator.analysis.core/src/org/eclipse/tracecompass/incubator/analysis/core/concepts/IThreadOnCpuProvider.java b/callstack/org.eclipse.tracecompass.incubator.analysis.core/src/org/eclipse/tracecompass/incubator/analysis/core/concepts/IThreadOnCpuProvider.java index b464d20dc..619d9af94 100644 --- a/callstack/org.eclipse.tracecompass.incubator.analysis.core/src/org/eclipse/tracecompass/incubator/analysis/core/concepts/IThreadOnCpuProvider.java +++ b/callstack/org.eclipse.tracecompass.incubator.analysis.core/src/org/eclipse/tracecompass/incubator/analysis/core/concepts/IThreadOnCpuProvider.java @@ -22,6 +22,7 @@ * NOTE to developers: this interface is used with the composite host model but * won't be necessary anymore once the analyses populate the model directly. */ +@Deprecated(since="0.10.0", forRemoval=true) public interface IThreadOnCpuProvider { /** diff --git a/callstack/org.eclipse.tracecompass.incubator.analysis.core/src/org/eclipse/tracecompass/incubator/analysis/core/concepts/ProcessStatusInterval.java b/callstack/org.eclipse.tracecompass.incubator.analysis.core/src/org/eclipse/tracecompass/incubator/analysis/core/concepts/ProcessStatusInterval.java index d0fc62006..c11348f65 100644 --- a/callstack/org.eclipse.tracecompass.incubator.analysis.core/src/org/eclipse/tracecompass/incubator/analysis/core/concepts/ProcessStatusInterval.java +++ b/callstack/org.eclipse.tracecompass.incubator.analysis.core/src/org/eclipse/tracecompass/incubator/analysis/core/concepts/ProcessStatusInterval.java @@ -19,6 +19,7 @@ * * @author Geneviève Bastien */ +@Deprecated(since="0.10.0", forRemoval=true) public class ProcessStatusInterval implements ISegment { /** diff --git a/callstack/org.eclipse.tracecompass.incubator.analysis.core/src/org/eclipse/tracecompass/incubator/analysis/core/model/IHostModel.java b/callstack/org.eclipse.tracecompass.incubator.analysis.core/src/org/eclipse/tracecompass/incubator/analysis/core/model/IHostModel.java index b94243577..4fbcd177a 100644 --- a/callstack/org.eclipse.tracecompass.incubator.analysis.core/src/org/eclipse/tracecompass/incubator/analysis/core/model/IHostModel.java +++ b/callstack/org.eclipse.tracecompass.incubator.analysis.core/src/org/eclipse/tracecompass/incubator/analysis/core/model/IHostModel.java @@ -34,6 +34,7 @@ * * @author Geneviève Bastien */ +@Deprecated(since="0.10.0", forRemoval=true) public interface IHostModel { /** diff --git a/callstack/org.eclipse.tracecompass.incubator.analysis.core/src/org/eclipse/tracecompass/incubator/analysis/core/model/ModelManager.java b/callstack/org.eclipse.tracecompass.incubator.analysis.core/src/org/eclipse/tracecompass/incubator/analysis/core/model/ModelManager.java index e8e9645a1..8e4d8553a 100644 --- a/callstack/org.eclipse.tracecompass.incubator.analysis.core/src/org/eclipse/tracecompass/incubator/analysis/core/model/ModelManager.java +++ b/callstack/org.eclipse.tracecompass.incubator.analysis.core/src/org/eclipse/tracecompass/incubator/analysis/core/model/ModelManager.java @@ -21,6 +21,7 @@ * * @author Geneviève Bastien */ +@Deprecated(since="0.10.0", forRemoval=true) public final class ModelManager { private static final Map MODELS_FOR_HOST = new HashMap<>(); diff --git a/callstack/org.eclipse.tracecompass.incubator.analysis.core/src/org/eclipse/tracecompass/incubator/analysis/core/weighted/tree/AllGroupDescriptor.java b/callstack/org.eclipse.tracecompass.incubator.analysis.core/src/org/eclipse/tracecompass/incubator/analysis/core/weighted/tree/AllGroupDescriptor.java index 3918956e9..f93b9218a 100644 --- a/callstack/org.eclipse.tracecompass.incubator.analysis.core/src/org/eclipse/tracecompass/incubator/analysis/core/weighted/tree/AllGroupDescriptor.java +++ b/callstack/org.eclipse.tracecompass.incubator.analysis.core/src/org/eclipse/tracecompass/incubator/analysis/core/weighted/tree/AllGroupDescriptor.java @@ -18,6 +18,7 @@ * * @author Geneviève Bastien */ +@Deprecated(since="0.10.0", forRemoval=true) public final class AllGroupDescriptor implements IWeightedTreeGroupDescriptor { private static final String ALL_NAME = "all"; //$NON-NLS-1$ diff --git a/callstack/org.eclipse.tracecompass.incubator.analysis.core/src/org/eclipse/tracecompass/incubator/analysis/core/weighted/tree/DepthGroupDescriptor.java b/callstack/org.eclipse.tracecompass.incubator.analysis.core/src/org/eclipse/tracecompass/incubator/analysis/core/weighted/tree/DepthGroupDescriptor.java index 6a09550ba..f1bfdf124 100644 --- a/callstack/org.eclipse.tracecompass.incubator.analysis.core/src/org/eclipse/tracecompass/incubator/analysis/core/weighted/tree/DepthGroupDescriptor.java +++ b/callstack/org.eclipse.tracecompass.incubator.analysis.core/src/org/eclipse/tracecompass/incubator/analysis/core/weighted/tree/DepthGroupDescriptor.java @@ -22,6 +22,7 @@ * * @author Geneviève Bastien */ +@Deprecated(since="0.10.0", forRemoval=true) public class DepthGroupDescriptor implements IWeightedTreeGroupDescriptor { private final int fDepth; diff --git a/callstack/org.eclipse.tracecompass.incubator.analysis.core/src/org/eclipse/tracecompass/incubator/analysis/core/weighted/tree/IDataPalette.java b/callstack/org.eclipse.tracecompass.incubator.analysis.core/src/org/eclipse/tracecompass/incubator/analysis/core/weighted/tree/IDataPalette.java index 61abc5a02..806c5bc84 100644 --- a/callstack/org.eclipse.tracecompass.incubator.analysis.core/src/org/eclipse/tracecompass/incubator/analysis/core/weighted/tree/IDataPalette.java +++ b/callstack/org.eclipse.tracecompass.incubator.analysis.core/src/org/eclipse/tracecompass/incubator/analysis/core/weighted/tree/IDataPalette.java @@ -21,6 +21,7 @@ * * @author Geneviève Bastien */ +@Deprecated(since="0.10.0", forRemoval=true) public interface IDataPalette { /** diff --git a/callstack/org.eclipse.tracecompass.incubator.analysis.core/src/org/eclipse/tracecompass/incubator/analysis/core/weighted/tree/ITree.java b/callstack/org.eclipse.tracecompass.incubator.analysis.core/src/org/eclipse/tracecompass/incubator/analysis/core/weighted/tree/ITree.java index f37a42467..96ddef442 100644 --- a/callstack/org.eclipse.tracecompass.incubator.analysis.core/src/org/eclipse/tracecompass/incubator/analysis/core/weighted/tree/ITree.java +++ b/callstack/org.eclipse.tracecompass.incubator.analysis.core/src/org/eclipse/tracecompass/incubator/analysis/core/weighted/tree/ITree.java @@ -21,6 +21,7 @@ * * @author Geneviève Bastien */ +@Deprecated(since="0.10.0", forRemoval=true) public interface ITree { /** diff --git a/callstack/org.eclipse.tracecompass.incubator.analysis.core/src/org/eclipse/tracecompass/incubator/analysis/core/weighted/tree/IWeightedTreeGroupDescriptor.java b/callstack/org.eclipse.tracecompass.incubator.analysis.core/src/org/eclipse/tracecompass/incubator/analysis/core/weighted/tree/IWeightedTreeGroupDescriptor.java index cc8e77f25..1b615679b 100644 --- a/callstack/org.eclipse.tracecompass.incubator.analysis.core/src/org/eclipse/tracecompass/incubator/analysis/core/weighted/tree/IWeightedTreeGroupDescriptor.java +++ b/callstack/org.eclipse.tracecompass.incubator.analysis.core/src/org/eclipse/tracecompass/incubator/analysis/core/weighted/tree/IWeightedTreeGroupDescriptor.java @@ -49,6 +49,7 @@ * * @author Geneviève Bastien */ +@Deprecated(since="0.10.0", forRemoval=true) public interface IWeightedTreeGroupDescriptor { /** diff --git a/callstack/org.eclipse.tracecompass.incubator.analysis.core/src/org/eclipse/tracecompass/incubator/analysis/core/weighted/tree/IWeightedTreeProvider.java b/callstack/org.eclipse.tracecompass.incubator.analysis.core/src/org/eclipse/tracecompass/incubator/analysis/core/weighted/tree/IWeightedTreeProvider.java index 5696b6d6a..4cc048c52 100644 --- a/callstack/org.eclipse.tracecompass.incubator.analysis.core/src/org/eclipse/tracecompass/incubator/analysis/core/weighted/tree/IWeightedTreeProvider.java +++ b/callstack/org.eclipse.tracecompass.incubator.analysis.core/src/org/eclipse/tracecompass/incubator/analysis/core/weighted/tree/IWeightedTreeProvider.java @@ -48,6 +48,7 @@ * @param * The type of the tree provided */ +@Deprecated(since="0.10.0", forRemoval=true) public interface IWeightedTreeProvider<@NonNull N, E, @NonNull T extends WeightedTree> { /** diff --git a/callstack/org.eclipse.tracecompass.incubator.analysis.core/src/org/eclipse/tracecompass/incubator/analysis/core/weighted/tree/IWeightedTreeSet.java b/callstack/org.eclipse.tracecompass.incubator.analysis.core/src/org/eclipse/tracecompass/incubator/analysis/core/weighted/tree/IWeightedTreeSet.java index 8f80a2b23..197b6f5fd 100644 --- a/callstack/org.eclipse.tracecompass.incubator.analysis.core/src/org/eclipse/tracecompass/incubator/analysis/core/weighted/tree/IWeightedTreeSet.java +++ b/callstack/org.eclipse.tracecompass.incubator.analysis.core/src/org/eclipse/tracecompass/incubator/analysis/core/weighted/tree/IWeightedTreeSet.java @@ -36,6 +36,7 @@ * @param * The type of the tree provided */ +@Deprecated(since="0.10.0", forRemoval=true) public interface IWeightedTreeSet<@NonNull N, E, @NonNull T extends WeightedTree> { /** diff --git a/callstack/org.eclipse.tracecompass.incubator.analysis.core/src/org/eclipse/tracecompass/incubator/analysis/core/weighted/tree/WeightedTree.java b/callstack/org.eclipse.tracecompass.incubator.analysis.core/src/org/eclipse/tracecompass/incubator/analysis/core/weighted/tree/WeightedTree.java index 65071b95c..54037200a 100644 --- a/callstack/org.eclipse.tracecompass.incubator.analysis.core/src/org/eclipse/tracecompass/incubator/analysis/core/weighted/tree/WeightedTree.java +++ b/callstack/org.eclipse.tracecompass.incubator.analysis.core/src/org/eclipse/tracecompass/incubator/analysis/core/weighted/tree/WeightedTree.java @@ -37,6 +37,7 @@ * @param * The type of objects in this tree */ +@Deprecated(since="0.10.0", forRemoval=true) public class WeightedTree<@NonNull T> implements Comparable> { private final T fObject; diff --git a/callstack/org.eclipse.tracecompass.incubator.analysis.core/src/org/eclipse/tracecompass/incubator/analysis/core/weighted/tree/WeightedTreeGroupBy.java b/callstack/org.eclipse.tracecompass.incubator.analysis.core/src/org/eclipse/tracecompass/incubator/analysis/core/weighted/tree/WeightedTreeGroupBy.java index d8acea38c..5a332b34f 100644 --- a/callstack/org.eclipse.tracecompass.incubator.analysis.core/src/org/eclipse/tracecompass/incubator/analysis/core/weighted/tree/WeightedTreeGroupBy.java +++ b/callstack/org.eclipse.tracecompass.incubator.analysis.core/src/org/eclipse/tracecompass/incubator/analysis/core/weighted/tree/WeightedTreeGroupBy.java @@ -22,6 +22,7 @@ * * @author Geneviève Bastien */ +@Deprecated(since="0.10.0", forRemoval=true) public final class WeightedTreeGroupBy { private WeightedTreeGroupBy() { diff --git a/callstack/org.eclipse.tracecompass.incubator.analysis.core/src/org/eclipse/tracecompass/incubator/analysis/core/weighted/tree/WeightedTreeSet.java b/callstack/org.eclipse.tracecompass.incubator.analysis.core/src/org/eclipse/tracecompass/incubator/analysis/core/weighted/tree/WeightedTreeSet.java index e172c14d9..ef1dc27d5 100644 --- a/callstack/org.eclipse.tracecompass.incubator.analysis.core/src/org/eclipse/tracecompass/incubator/analysis/core/weighted/tree/WeightedTreeSet.java +++ b/callstack/org.eclipse.tracecompass.incubator.analysis.core/src/org/eclipse/tracecompass/incubator/analysis/core/weighted/tree/WeightedTreeSet.java @@ -32,6 +32,7 @@ * {@link ITree}, then the elements and their associated weighted * trees will be grouped in a hierarchical style */ +@Deprecated(since="0.10.0", forRemoval=true) public class WeightedTreeSet<@NonNull N, E> implements IWeightedTreeSet> { private final Set fRootElements = new HashSet<>(); diff --git a/callstack/org.eclipse.tracecompass.incubator.callstack.core.tests/.settings/org.eclipse.jdt.core.prefs b/callstack/org.eclipse.tracecompass.incubator.callstack.core.tests/.settings/org.eclipse.jdt.core.prefs index 0482be35b..22abfa08e 100644 --- a/callstack/org.eclipse.tracecompass.incubator.callstack.core.tests/.settings/org.eclipse.jdt.core.prefs +++ b/callstack/org.eclipse.tracecompass.incubator.callstack.core.tests/.settings/org.eclipse.jdt.core.prefs @@ -29,7 +29,7 @@ org.eclipse.jdt.core.compiler.problem.assertIdentifier=error org.eclipse.jdt.core.compiler.problem.autoboxing=ignore org.eclipse.jdt.core.compiler.problem.comparingIdentical=error org.eclipse.jdt.core.compiler.problem.deadCode=error -org.eclipse.jdt.core.compiler.problem.deprecation=error +org.eclipse.jdt.core.compiler.problem.deprecation=warning org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=enabled org.eclipse.jdt.core.compiler.problem.discouragedReference=warning diff --git a/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/base/CallStackElement.java b/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/base/CallStackElement.java index 47b7bb0ae..34a2b0c25 100644 --- a/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/base/CallStackElement.java +++ b/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/base/CallStackElement.java @@ -24,6 +24,7 @@ * * @author Geneviève Bastien */ +@Deprecated(since="0.10.0", forRemoval=true) public class CallStackElement implements ICallStackElement { /** diff --git a/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/base/CallStackGroupDescriptor.java b/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/base/CallStackGroupDescriptor.java index c7908cf25..530d8e3bc 100644 --- a/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/base/CallStackGroupDescriptor.java +++ b/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/base/CallStackGroupDescriptor.java @@ -18,6 +18,7 @@ * * @author Geneviève Bastien */ +@Deprecated(since="0.10.0", forRemoval=true) public class CallStackGroupDescriptor implements ICallStackGroupDescriptor { private final String fName; diff --git a/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/base/EdgeStateValue.java b/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/base/EdgeStateValue.java index 22894e542..197d21911 100644 --- a/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/base/EdgeStateValue.java +++ b/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/base/EdgeStateValue.java @@ -30,6 +30,7 @@ * * @author Loic Prieur-Drevon */ +@Deprecated(since="0.10.0", forRemoval=true) public class EdgeStateValue extends CustomStateValue { /** diff --git a/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/base/ICallStackElement.java b/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/base/ICallStackElement.java index 98515797c..2d5b3d541 100644 --- a/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/base/ICallStackElement.java +++ b/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/base/ICallStackElement.java @@ -28,6 +28,7 @@ * * @author Geneviève Bastien */ +@Deprecated(since="0.10.0", forRemoval=true) public interface ICallStackElement extends ITree { /** diff --git a/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/base/ICallStackGroupDescriptor.java b/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/base/ICallStackGroupDescriptor.java index a69a700ea..4e6887632 100644 --- a/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/base/ICallStackGroupDescriptor.java +++ b/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/base/ICallStackGroupDescriptor.java @@ -59,6 +59,7 @@ * * @author Geneviève Bastien */ +@Deprecated(since="0.10.0", forRemoval=true) public interface ICallStackGroupDescriptor extends IWeightedTreeGroupDescriptor { @Override diff --git a/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/callgraph/CallGraph.java b/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/callgraph/CallGraph.java index 2589aa122..61d233a28 100644 --- a/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/callgraph/CallGraph.java +++ b/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/callgraph/CallGraph.java @@ -33,6 +33,7 @@ * * @author Geneviève Bastien */ +@Deprecated(since="0.10.0", forRemoval=true) public class CallGraph implements IWeightedTreeSet<@NonNull ICallStackSymbol, ICallStackElement, AggregatedCallSite> { /** diff --git a/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/callgraph/ICallGraphProvider.java b/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/callgraph/ICallGraphProvider.java index cee168f91..1e7c1bc5e 100644 --- a/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/callgraph/ICallGraphProvider.java +++ b/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/callgraph/ICallGraphProvider.java @@ -32,6 +32,7 @@ * * @author Geneviève Bastien */ +@Deprecated(since="0.10.0", forRemoval=true) public interface ICallGraphProvider extends IWeightedTreeProvider<@NonNull ICallStackSymbol, ICallStackElement, AggregatedCallSite> { /** diff --git a/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/callgraph/SymbolAspect.java b/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/callgraph/SymbolAspect.java index b61712b2e..1466f1aa0 100644 --- a/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/callgraph/SymbolAspect.java +++ b/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/callgraph/SymbolAspect.java @@ -31,6 +31,7 @@ * * @author Sonia Farrah */ +@Deprecated(since="0.10.0", forRemoval=true) public final class SymbolAspect implements ISegmentAspect { /** * A symbol aspect diff --git a/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/flamechart/CallStack.java b/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/flamechart/CallStack.java index 00e4d3a6f..6f36963c7 100644 --- a/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/flamechart/CallStack.java +++ b/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/flamechart/CallStack.java @@ -48,6 +48,7 @@ * * @author Geneviève Bastien */ +@Deprecated(since="0.10.0", forRemoval=true) public class CallStack { private final @Nullable ICallStackElement fSymbolKeyElement; diff --git a/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/flamechart/IEventCallStackProvider.java b/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/flamechart/IEventCallStackProvider.java index 3ed24750c..a9546c9d4 100644 --- a/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/flamechart/IEventCallStackProvider.java +++ b/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/flamechart/IEventCallStackProvider.java @@ -22,6 +22,7 @@ * * @author Geneviève Bastien */ +@Deprecated(since="0.10.0", forRemoval=true) public interface IEventCallStackProvider { /** diff --git a/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/instrumented/CallStackDepth.java b/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/instrumented/CallStackDepth.java index 1ff70548d..a9f6c37d2 100644 --- a/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/instrumented/CallStackDepth.java +++ b/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/instrumented/CallStackDepth.java @@ -22,6 +22,7 @@ * * @author Geneviève Bastien */ +@Deprecated(since="0.10.0", forRemoval=true) public class CallStackDepth { private final CallStack fCallstack; diff --git a/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/instrumented/ICalledFunction.java b/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/instrumented/ICalledFunction.java index 10c452536..9dfa8c80e 100644 --- a/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/instrumented/ICalledFunction.java +++ b/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/instrumented/ICalledFunction.java @@ -22,6 +22,7 @@ * @author Matthew Khouzam * @author Sonia Farrah */ +@Deprecated(since="0.10.0", forRemoval=true) public interface ICalledFunction extends INamedSegment { /** diff --git a/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/instrumented/IFlameChartProvider.java b/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/instrumented/IFlameChartProvider.java index 788886f88..91d4d8231 100644 --- a/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/instrumented/IFlameChartProvider.java +++ b/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/instrumented/IFlameChartProvider.java @@ -30,6 +30,7 @@ * * @author Geneviève Bastien */ +@Deprecated(since="0.10.0", forRemoval=true) public interface IFlameChartProvider extends IAnalysisModule, ISegmentStoreProvider { /** diff --git a/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/instrumented/statesystem/CallStackHostUtils.java b/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/instrumented/statesystem/CallStackHostUtils.java index c7c7ef7f5..58256a9f2 100644 --- a/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/instrumented/statesystem/CallStackHostUtils.java +++ b/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/instrumented/statesystem/CallStackHostUtils.java @@ -32,6 +32,7 @@ * * @author Geneviève Bastien */ +@Deprecated(since="0.10.0", forRemoval=true) public final class CallStackHostUtils { private CallStackHostUtils() { diff --git a/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/instrumented/statesystem/CallStackSeries.java b/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/instrumented/statesystem/CallStackSeries.java index 646a225be..119d5b4f4 100644 --- a/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/instrumented/statesystem/CallStackSeries.java +++ b/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/instrumented/statesystem/CallStackSeries.java @@ -98,6 +98,7 @@ * * @author Geneviève Bastien */ +@Deprecated(since="0.10.0", forRemoval=true) public class CallStackSeries implements ISegmentStore { /** diff --git a/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/instrumented/statesystem/CallStackStateProvider.java b/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/instrumented/statesystem/CallStackStateProvider.java index cbfe2d3bf..30216069a 100644 --- a/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/instrumented/statesystem/CallStackStateProvider.java +++ b/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/instrumented/statesystem/CallStackStateProvider.java @@ -84,6 +84,7 @@ * * @author Patrick Tasse */ +@Deprecated(since="0.10.0", forRemoval=true) public abstract class CallStackStateProvider extends AbstractTmfStateProvider { /** diff --git a/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/instrumented/statesystem/InstrumentedCallStackAnalysis.java b/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/instrumented/statesystem/InstrumentedCallStackAnalysis.java index 26bb40687..5e6a7ef8b 100644 --- a/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/instrumented/statesystem/InstrumentedCallStackAnalysis.java +++ b/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/instrumented/statesystem/InstrumentedCallStackAnalysis.java @@ -58,6 +58,7 @@ * @author Matthew Khouzam * @author Geneviève Bastien */ +@Deprecated(since="0.10.0", forRemoval=true) public abstract class InstrumentedCallStackAnalysis extends TmfStateSystemAnalysisModule implements IFlameChartProvider, ICallGraphProvider { /** CallStack stack-attribute */ diff --git a/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/lttng2/ust/LttngUstCallStackAnalysis.java b/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/lttng2/ust/LttngUstCallStackAnalysis.java index 405c7825f..30425091d 100644 --- a/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/lttng2/ust/LttngUstCallStackAnalysis.java +++ b/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/lttng2/ust/LttngUstCallStackAnalysis.java @@ -39,6 +39,7 @@ * * @author Geneviève Bastien */ +@Deprecated(since="0.10.0", forRemoval=true) @SuppressWarnings("restriction") public class LttngUstCallStackAnalysis extends InstrumentedCallStackAnalysis { diff --git a/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/lttng2/ust/LttngUstCallStackAnalysisRequirement.java b/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/lttng2/ust/LttngUstCallStackAnalysisRequirement.java index 8f8bc8ec8..525418347 100644 --- a/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/lttng2/ust/LttngUstCallStackAnalysisRequirement.java +++ b/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/lttng2/ust/LttngUstCallStackAnalysisRequirement.java @@ -29,6 +29,7 @@ * @author Bernd Hufmann * */ +@Deprecated(since="0.10.0", forRemoval=true) @SuppressWarnings("restriction") public class LttngUstCallStackAnalysisRequirement extends TmfCompositeAnalysisRequirement { diff --git a/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/sampled/callgraph/AggregatedStackTraces.java b/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/sampled/callgraph/AggregatedStackTraces.java index beba606e0..f21330c54 100644 --- a/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/sampled/callgraph/AggregatedStackTraces.java +++ b/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/sampled/callgraph/AggregatedStackTraces.java @@ -21,6 +21,7 @@ * * @author Geneviève Bastien */ +@Deprecated(since="0.10.0", forRemoval=true) public class AggregatedStackTraces extends AggregatedCallSite { /** diff --git a/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/sampled/callgraph/ProfilingCallGraphAnalysisModule.java b/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/sampled/callgraph/ProfilingCallGraphAnalysisModule.java index 493da0438..4d7ef8c0e 100644 --- a/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/sampled/callgraph/ProfilingCallGraphAnalysisModule.java +++ b/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/sampled/callgraph/ProfilingCallGraphAnalysisModule.java @@ -47,6 +47,7 @@ * * @author Geneviève Bastien */ +@Deprecated(since="0.10.0", forRemoval=true) public abstract class ProfilingCallGraphAnalysisModule extends TmfAbstractAnalysisModule implements ICallGraphProvider, IEventCallStackProvider { private static final MetricType WEIGHT_METRIC = new MetricType(Objects.requireNonNull(Messages.CallGraphStats_NbCalls), DataType.NUMBER, null); diff --git a/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/symbol/CallStackSymbolFactory.java b/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/symbol/CallStackSymbolFactory.java index ba6b073d8..34e117ec8 100644 --- a/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/symbol/CallStackSymbolFactory.java +++ b/callstack/org.eclipse.tracecompass.incubator.callstack.core/src/org/eclipse/tracecompass/incubator/callstack/core/symbol/CallStackSymbolFactory.java @@ -23,6 +23,7 @@ * * @author Geneviève Bastien */ +@Deprecated(since="0.10.0", forRemoval=true) public final class CallStackSymbolFactory { private static final Pattern IS_NUMBER = Pattern.compile("[0-9A-Fa-f]+");