Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Call stack analysis does not support dynamic depth #894

Open
arfio opened this issue Dec 19, 2022 · 0 comments
Open

Call stack analysis does not support dynamic depth #894

arfio opened this issue Dec 19, 2022 · 0 comments
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)

Comments

@arfio
Copy link
Contributor

arfio commented Dec 19, 2022

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.
    working_theia
    working_state_system

  • 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).
    not_working_theia
    not_working_statesystem

@marco-miller marco-miller added Trace Compass Involve changes in the main Trace Compass repo Trace Server Involve changes in the trace server itself (in the incubator source code) labels Dec 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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)
Projects
None yet
Development

No branches or pull requests

2 participants