|Re: [tracecompass-dev] Interval colors in CallStackView|
Excellent question. Genevieve is working on it as we speak. If you need something sooner, and you don't mind getting your hands covered in Java, take a look at CallStackPresentationProvider#getState.
I would extract that code somewhere safe like the symbol providers or somewhere else, so the other charts like flame graph can use it too.
This is very interesting for me personally. If you have any improvements to share, I will gladly review it. When I get some spare time I might do something similar.
Is there any way to control colors for intervals in the CallStackView? I have a case where I am generating intervals where the end time for one interval on a thread exactly matches the start time for the next interval on the same thread. These are correctly displayed on the timeline, but it is difficult to find the boundary between the two intervals since they both have the same color.
Is there some way to control the color of the intervals from within a class which extends CallStackView, or at least get intervals to use alternating colors?
Back to the top