Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tracecompass-dev] Interval colors in CallStackView

Hi Dave,


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. 😉


Cheers,

Matthew


From: tracecompass-dev-bounces@xxxxxxxxxxx <tracecompass-dev-bounces@xxxxxxxxxxx> on behalf of David Wootton <dwootton@xxxxxxxxxx>
Sent: Thursday, March 9, 2017 5:45:08 PM
To: Trace Compass Developer Discussions
Subject: [tracecompass-dev] Interval colors in CallStackView
 

Hi
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?

Thanks

Dave


Back to the top