Hi After looking at the call stack view again and fixing a bug in my code that generates the trace, it looks like the call stack view is very close to what I want. So I think I end up using it as a basis for my work.
Thanks for your help and patience getting me started.
I looked at the data driven analysis. It looks like it might be useful to me if I need to define another analysis. I don't have a Project Explorer view, and besides, I don't want to have to instruct my users to import an analysis definition. I'd like to include it as a built in component of my plugin.
I think this is solvable by finding the handler that is invoked by the Import menu option in project explorer and replicating it's function. This seems like a one-time operation where my code would need to do it someplace like where the user loads a trace for the first time. I would also have to worry about cleanup/replacement in a user's install when an update to the analysis logic is required. Does this seem feasible?
Thanks
Dave
Geneviève Bastien ---06/14/2016 10:16:39 PM---Hi Dave, From what I think you are trying to achieve, once you have your trace
From: Geneviève Bastien <gbastien+lttng@xxxxxxxxxxxx> To: tracecompass-dev@xxxxxxxxxxx Date: 06/14/2016 10:16 PM Subject: Re: [tracecompass-dev] Implementing new trrace format viewing in Trace Compass Sent by: tracecompass-dev-bounces@xxxxxxxxxxx
Hi Dave,
From what I think you are trying to achieve, once you have your trace parsed and read and see the events in the event editor, you should definitely take a look at the data-driven analysis. It is a good starting point, if the analysis you want to do is simple. And whether you write your analysis in Java or data-driven, time graph views are much much easier to do data-driven.
Patrick gave a few links in his first reply. The data-driven user documentation is here [1]. If you already have a state system in java, then you can easily write an XML view for it using your java analysis' ID. See [2] for the data-driven time graph views. I also have a few examples of XML analyses and views here [3]. I'm not sure they all still work, but the most recent ones most likely do.
I hope this helps.
Geneviève
[1] http://archive.eclipse.org/tracecompass/doc/org.eclipse.tracecompass.doc.user/Data-driven-analysis.html [2] http://archive.eclipse.org/tracecompass/doc/org.eclipse.tracecompass.doc.user/Data-driven-analysis.html#Defining_an_XML_time_graph_view [3] http://secretaire.dorsal.polymtl.ca/~gbastien/Xml4Traces/
On 06/14/2016 06:30 PM, Patrick Tasse wrote:_______________________________________________ tracecompass-dev mailing list tracecompass-dev@xxxxxxxxxxx To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/tracecompass-dev
|