Class CallStackScriptingModule

java.lang.Object
org.eclipse.tracecompass.incubator.scripting.core.callstack.CallStackScriptingModule

public class CallStackScriptingModule extends Object
Provide an API to manipulate callstacks and weighted trees. This modules uses objects of class IWeightedTreeProvider that can be obtained from a trace by requesting an analysis that implements the interface.

For example, the following scriptlet would get the LTTng-UST CallStack (Incubator) analysis, which implements the weighted tree provider, for the active LTTng UST trace. The object can then be used as parameter for the methods of this module.

 trace = getActiveTrace()
 wtProvider = getTraceAnalysis(trace, "org.eclipse.tracecompass.incubator.callstack.core.lttng.ust");
 
Author:
Geneviève Bastien