Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tracecompass-dev] Viewing custom events in a timeline

Hi Gerlando,

You don't need to have your source trace in CTF format. Although, if you do, it would probably be faster to process (which matters only if your trace is large), excluding the one-time conversion cost.

You can create a custom parser for your source trace directly from a UI wizard, if it is in text or XML format:

If your trace is neither text, XML or CTF, you would probably have to create your own trace type and parser as a plug-in extension in Java code:

You can then create your own state system and custom view based on it using data-driven analysis by writing an XML file:

Marc-Andre has made a presentation at EclipseCon 2015 which has an example of what you would need to do: (starting at page 25)

Let us know if you need any more help, or if you have comments or suggestions after going through the process.


On Thu, Jul 23, 2015 at 4:19 AM, Gerlando Falauto <gerlando.falauto@xxxxxxxxxxx> wrote:

I am currently trying to analyze the behavior and performance of a system under different configurations and circumstances.
What I have is a series of events (start/stop) relative to several (~200) separate "entities" which I would like to see plotted in a timeline: Kind of like the timeline you see on the "Network" tab of the Developer Tools under Firefox, where you see how long each HTTP request lasts and how it overlaps with the others.
Or like the "Control Flow" view in Tracecompass, except each row is *NOT* a linux process/thread, rather an internal "entity". So the data shall not come from LTTNG traces, rather from external, custom data.
I suppose I could either:
a) post-process a log file (by writing some translation script), so to generate some CTF trace, "faking" processes with my own entities, or
b) instrument the code itself so to generate LTTNG-UST events.

Any ideas how I could achieve this? Just some hint on where to start...

Thank you so much!
tracecompass-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit

Back to the top