Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tracecompass-dev] Adding additional events to TmfTrace

Hi David,

On 2016-06-28 02:30 PM, David Wootton wrote:

The user then wants to load an
additional trace generated by a separate tool

This sounds like experiments (TmfExperiment) could be a good fit. The concept of an experiment is opening several traces together, and looking at the result as if it was one single trace. In that case you would just have to add a parser and trace type for the second additional trace.

That way you wouldn't need to re-create supplementary files specific to the single traces. Note you could still have experiment-wide analyses that create experiment-wide supplementary files too.

If that doesn't work, and you need to go with the approach of modifying a single trace, then I would suggest creating a new trace entirely, and having the framework open that. Trying to modify an already-open trace will probably cause many problems, one of them being that events cannot be added elsewhere than at the end of the trace. And even for that, "live" trace-updating support is very limited and probably still quite buggy.


Back to the top