Hi Mathew,
Let me explain my requirement briefly and what I'm looking for.
1. I want to define a new trace format with fixed number of fields each of them have numeric value.
Eg: To keep things simple, assume I've a trace data with only three fields. Time stamp, L1 Cache Hits, L1 Total Cache Accesses.
2. I want to define a new analysis module calculating the % of cache hits over time and show it in a view similar to CPU utilization.
3. I want to define various different analysis modules involving mathematical computation of such data and show them as tabular, graph views.
4. I like the concept of defining parameters for analysis module so I can say I want to see % of cache hits of L1 or L2. (Assuming I've data for L1 and L2 cache in my trace). Something similar to how % CPU utilization graphs overlaps with a single process CPU utilization.
I'm trying to explore whether TMF can fit into this requirement. In my case, I don't have multiple events as such. It is just table of data.
So to put things in the context of TMF, I can think of it as trace data with only single event.
I haven't understood the concept of State Systems in TMF and feel is not relevant to my requirements.
If you have not understood my requirements then don't worry too much about the above details. In terms of the what is missing in the doc, I have some suggestions.
2. The first chapter on "
Implementing a New Trace Type" was very good because it has explained the concept with a basic example along with source code. It would be good if the concept of "Analysis Framework" was also explained in continuation by taking the same trace which was defined in the first chapter.
3. I can think of a simple analysis for Nexus Lite trace format. Nexus lite format has 64 different events and we want to plot the graph showing how the percentage of each type is varying over time.
May be I'm asking too much but I just want to share my experience of exploring the framework as newbie and how it could have better for me. Anyway, I'm trying to explore/experiment with Statistics Analysis module and making some progress.
Just another question:
Does TMF support live visualization of trace data. Even if it is not already in place, is it possible for me to add that support?
Please feel free to comment on any of the above points.
Best Regards
Srinivas G