commit | 105358146ea9ba734446ea819c9ac213ec4680b6 | [log] [tgz] |
---|---|---|
author | Geneviève Bastien <gbastien+lttng@versatic.net> | Fri Dec 06 15:59:56 2019 -0500 |
committer | Genevieve Bastien <gbastien+lttng@versatic.net> | Thu Dec 19 13:19:10 2019 -0500 |
tree | bd2a1664ec708f54b7cdc93a56c39d2c52c056e3 | |
parent | aef901aee5d347956bf3acd5c05db880f80b6778 [diff] |
scripting: Execute the analysis to get the state systems Existing state systems were never picked up because the analysis that gets them never got executed. Change-Id: I615c5761a99df3c546fd574f40e763a3cb888d7d Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net> Reviewed-on: https://git.eclipse.org/r/154040 Tested-by: CI Bot
diff --git a/analyses/org.eclipse.tracecompass.incubator.scripting.core/src/org/eclipse/tracecompass/incubator/scripting/core/analysis/ScriptedAnalysis.java b/analyses/org.eclipse.tracecompass.incubator.scripting.core/src/org/eclipse/tracecompass/incubator/scripting/core/analysis/ScriptedAnalysis.java index b07be39..c995649 100644 --- a/analyses/org.eclipse.tracecompass.incubator.scripting.core/src/org/eclipse/tracecompass/incubator/scripting/core/analysis/ScriptedAnalysis.java +++ b/analyses/org.eclipse.tracecompass.incubator.scripting.core/src/org/eclipse/tracecompass/incubator/scripting/core/analysis/ScriptedAnalysis.java
@@ -71,10 +71,12 @@ if (analysisModule == null) { return null; } + analysisModule.schedule(); + analysisModule.waitForCompletion(); + stateSystem = (ITmfStateSystemBuilder) analysisModule.getStateSystem(fName, useExisting); fStateSystem = stateSystem; return stateSystem; - } /**