Call stack analysis does not support dynamic depth #894
Labels
Trace Compass
Involve changes in the main Trace Compass repo
Trace Server
Involve changes in the trace server itself (in the incubator source code)
The instrumented call stack analysis present in the incubator and Trace Compass server does not support dynamic depth. Each analysis only supports one particular depth and if the depth changes depending on traces, only one specific level will work.
This is because the analysis defines the hierarchy using a list of string arrays. This list defines for each element a pattern to get one level. Using this list, it is not possible to define different depth level.
To show this, here is an example using the OTF2 analysis and 2 different traces:
The following screenshots shows the flamechart displayed in Theia and the state system in Trace Compass. This trace has 4 levels: machine, node, mpi rank, thread. This depth is the one defined in the OTF2 Analysis so we can see the flame chart states in Theia.
This trace has 5 levels: machine, switch, node, mpi rank, thread. This depth is different from the patterns defined in Trace Compass and therefore, we can only 4 of those 5 levels (thread level does not appear).
The text was updated successfully, but these errors were encountered: