Skip to content

Commit

Permalink
callstack: deprecate all classes that were moved to core
Browse files Browse the repository at this point in the history
Signed-off-by: Arnaud Fiorini <fiorini.arnaud@gmail.com>
  • Loading branch information
arfio authored and bhufmann committed Apr 18, 2024
1 parent dedf686 commit d13aad9
Show file tree
Hide file tree
Showing 43 changed files with 43 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
*
* @author Geneviève Bastien
*/
@Deprecated(since="0.10.0", forRemoval=true)
public class AggregatedCallSite extends WeightedTree<ICallStackSymbol> {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
/**
* @author Geneviève Bastien
*/
@Deprecated(since="0.10.0", forRemoval=true)
public interface ICallStackSymbol {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
*
* @author Geneviève Bastien
*/
@Deprecated(since="0.10.0", forRemoval=true)
public interface ISamplingDataProvider {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
*
* @author Geneviève Bastien
*/
@Deprecated(since="0.10.0", forRemoval=true)
public class ProcessStatusInterval implements ISegment {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
*
* @author Geneviève Bastien
*/
@Deprecated(since="0.10.0", forRemoval=true)
public interface IHostModel {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
*
* @author Geneviève Bastien
*/
@Deprecated(since="0.10.0", forRemoval=true)
public final class ModelManager {

private static final Map<String, IHostModel> MODELS_FOR_HOST = new HashMap<>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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$
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
*
* @author Geneviève Bastien
*/
@Deprecated(since="0.10.0", forRemoval=true)
public class DepthGroupDescriptor implements IWeightedTreeGroupDescriptor {

private final int fDepth;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
*
* @author Geneviève Bastien
*/
@Deprecated(since="0.10.0", forRemoval=true)
public interface IDataPalette {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
*
* @author Geneviève Bastien
*/
@Deprecated(since="0.10.0", forRemoval=true)
public interface ITree {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
*
* @author Geneviève Bastien
*/
@Deprecated(since="0.10.0", forRemoval=true)
public interface IWeightedTreeGroupDescriptor {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
* @param <T>
* The type of the tree provided
*/
@Deprecated(since="0.10.0", forRemoval=true)
public interface IWeightedTreeProvider<@NonNull N, E, @NonNull T extends WeightedTree<N>> {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
* @param <T>
* The type of the tree provided
*/
@Deprecated(since="0.10.0", forRemoval=true)
public interface IWeightedTreeSet<@NonNull N, E, @NonNull T extends WeightedTree<N>> {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
* @param <T>
* The type of objects in this tree
*/
@Deprecated(since="0.10.0", forRemoval=true)
public class WeightedTree<@NonNull T> implements Comparable<WeightedTree<T>> {

private final T fObject;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
*
* @author Geneviève Bastien
*/
@Deprecated(since="0.10.0", forRemoval=true)
public final class WeightedTreeGroupBy {

private WeightedTreeGroupBy() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<N, E, WeightedTree<N>> {

private final Set<E> fRootElements = new HashSet<>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
*
* @author Geneviève Bastien
*/
@Deprecated(since="0.10.0", forRemoval=true)
public class CallStackElement implements ICallStackElement {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
*
* @author Geneviève Bastien
*/
@Deprecated(since="0.10.0", forRemoval=true)
public class CallStackGroupDescriptor implements ICallStackGroupDescriptor {

private final String fName;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
*
* @author Loic Prieur-Drevon
*/
@Deprecated(since="0.10.0", forRemoval=true)
public class EdgeStateValue extends CustomStateValue {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
*
* @author Geneviève Bastien
*/
@Deprecated(since="0.10.0", forRemoval=true)
public interface ICallStackElement extends ITree {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
*
* @author Geneviève Bastien
*/
@Deprecated(since="0.10.0", forRemoval=true)
public interface ICallStackGroupDescriptor extends IWeightedTreeGroupDescriptor {

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
*
* @author Geneviève Bastien
*/
@Deprecated(since="0.10.0", forRemoval=true)
public class CallGraph implements IWeightedTreeSet<@NonNull ICallStackSymbol, ICallStackElement, AggregatedCallSite> {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
*
* @author Geneviève Bastien
*/
@Deprecated(since="0.10.0", forRemoval=true)
public interface ICallGraphProvider extends IWeightedTreeProvider<@NonNull ICallStackSymbol, ICallStackElement, AggregatedCallSite> {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
*
* @author Sonia Farrah
*/
@Deprecated(since="0.10.0", forRemoval=true)
public final class SymbolAspect implements ISegmentAspect {
/**
* A symbol aspect
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
*
* @author Geneviève Bastien
*/
@Deprecated(since="0.10.0", forRemoval=true)
public class CallStack {

private final @Nullable ICallStackElement fSymbolKeyElement;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
*
* @author Geneviève Bastien
*/
@Deprecated(since="0.10.0", forRemoval=true)
public interface IEventCallStackProvider {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
*
* @author Geneviève Bastien
*/
@Deprecated(since="0.10.0", forRemoval=true)
public class CallStackDepth {

private final CallStack fCallstack;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
* @author Matthew Khouzam
* @author Sonia Farrah
*/
@Deprecated(since="0.10.0", forRemoval=true)
public interface ICalledFunction extends INamedSegment {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
*
* @author Geneviève Bastien
*/
@Deprecated(since="0.10.0", forRemoval=true)
public interface IFlameChartProvider extends IAnalysisModule, ISegmentStoreProvider {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
*
* @author Geneviève Bastien
*/
@Deprecated(since="0.10.0", forRemoval=true)
public final class CallStackHostUtils {

private CallStackHostUtils() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@
*
* @author Geneviève Bastien
*/
@Deprecated(since="0.10.0", forRemoval=true)
public class CallStackSeries implements ISegmentStore<ISegment> {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
*
* @author Patrick Tasse
*/
@Deprecated(since="0.10.0", forRemoval=true)
public abstract class CallStackStateProvider extends AbstractTmfStateProvider {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
*
* @author Geneviève Bastien
*/
@Deprecated(since="0.10.0", forRemoval=true)
@SuppressWarnings("restriction")
public class LttngUstCallStackAnalysis extends InstrumentedCallStackAnalysis {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
* @author Bernd Hufmann
*
*/
@Deprecated(since="0.10.0", forRemoval=true)
@SuppressWarnings("restriction")
public class LttngUstCallStackAnalysisRequirement extends TmfCompositeAnalysisRequirement {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
*
* @author Geneviève Bastien
*/
@Deprecated(since="0.10.0", forRemoval=true)
public class AggregatedStackTraces extends AggregatedCallSite {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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]+");
Expand Down

0 comments on commit d13aad9

Please sign in to comment.