Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeneviève Bastien2018-12-20 15:25:15 -0500
committerBernd Hufmann2019-01-14 06:15:22 -0500
commit0cf8b46e974a6a59cb33644ef6b63f40bd06f55d (patch)
tree13d13384970e7bb854c6546b5acdbe1458677462
parent239d5432fdef47587c19be195bbdf23eb5fc1c2c (diff)
downloadorg.eclipse.tracecompass-stable-4.2.tar.gz
org.eclipse.tracecompass-stable-4.2.tar.xz
org.eclipse.tracecompass-stable-4.2.zip
profiling: Remove root functions from callgraphstable-4.2
Those functions are not used anyway, and they may take a lot of space Change-Id: Ib8329dcd881d5fee029553ded3c29dca7a4b3a8d Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net> Reviewed-on: https://git.eclipse.org/r/134359 Tested-by: CI Bot Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com> Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com> (cherry picked from commit 76dc1b84e7399a2e3f289c9caed57682b170d5ed) Reviewed-on: https://git.eclipse.org/r/134898
-rw-r--r--analysis/org.eclipse.tracecompass.analysis.profiling.core/src/org/eclipse/tracecompass/internal/analysis/profiling/core/callgraph/CallGraphAnalysis.java15
1 files changed, 0 insertions, 15 deletions
diff --git a/analysis/org.eclipse.tracecompass.analysis.profiling.core/src/org/eclipse/tracecompass/internal/analysis/profiling/core/callgraph/CallGraphAnalysis.java b/analysis/org.eclipse.tracecompass.analysis.profiling.core/src/org/eclipse/tracecompass/internal/analysis/profiling/core/callgraph/CallGraphAnalysis.java
index fd4c4fe229..b9fcbf6a24 100644
--- a/analysis/org.eclipse.tracecompass.analysis.profiling.core/src/org/eclipse/tracecompass/internal/analysis/profiling/core/callgraph/CallGraphAnalysis.java
+++ b/analysis/org.eclipse.tracecompass.analysis.profiling.core/src/org/eclipse/tracecompass/internal/analysis/profiling/core/callgraph/CallGraphAnalysis.java
@@ -78,11 +78,6 @@ public class CallGraphAnalysis extends TmfAbstractAnalysisModule implements ISeg
private final ListenerList fListeners = new ListenerList(ListenerList.IDENTITY);
/**
- * The Trace's root functions list
- */
- private final List<ICalledFunction> fRootFunctions = new ArrayList<>();
-
- /**
* The sub attributes of a certain thread
*/
private List<Integer> fCurrentQuarks = Collections.emptyList();
@@ -250,7 +245,6 @@ public class CallGraphAnalysis extends TmfAbstractAnalysisModule implements ISeg
long intervalEnd = interval.getEndTime();
// Create the segment for the first call event.
AbstractCalledFunction rootFunction = CalledFunctionFactory.create(intervalStart, intervalEnd + 1, depth, stateValue, processId, null);
- fRootFunctions.add(rootFunction);
AggregatedCalledFunction firstNode = new AggregatedCalledFunction(rootFunction, fCurrentQuarks.size());
if (!findChildren(rootFunction, depth, stateSystem, fCurrentQuarks.size() + fCurrentQuarks.get(depth), firstNode, processId, monitor)) {
return false;
@@ -362,15 +356,6 @@ public class CallGraphAnalysis extends TmfAbstractAnalysisModule implements ISeg
}
/**
- * The functions of the first level
- *
- * @return Functions of the first level
- */
- public List<ICalledFunction> getRootFunctions() {
- return ImmutableList.copyOf(fRootFunctions);
- }
-
- /**
* Merged threadnodes
*
* @return the merged threadnodes

Back to the top