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.

1. I see that in wiki link (
http://wiki.eclipse.org/Linux_Tools_Project/TMF/User_Guide), there is a
chapter on "Analysis Framework" which is missing in eclipse help. (
http://help.eclipse.org/kepler/index.jsp?topic=%2Forg.eclipse.linuxtools.tmf.help%2Fdoc%2FDeveloper-Guide.html
)

2. The first chapter on "Implementing a New Trace Type
<http://help.eclipse.org/kepler/topic/org.eclipse.linuxtools.tmf.help/doc/Implementing-a-New-Trace-Type.html?cp=60_1>"
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


On Thu, Jul 10, 2014 at 11:31 PM, Matthew Khouzam <
matthew.khou...@ericsson.com> wrote:

> I'm not sure what to suggest, cpu usage requires lttng since it requires
> a scheduler. Statistics does not, it just counts events per type. We
> have statistics for many non lttng traces.
>
> Could you describe what you think is missing from the doc?
>
> I feel my request is ambiguous. Here is an example:
> Basically let's say step 5 is the final objective, which step is missing.
>
> step 1- make a trace
> step 2- make a view based on events
> step 3- make a state system
> step 4- make a view with the state system
> step 5- ???
> step 6- profit!
>
> You would tell us something between 4 and 6 is unclear.
>
>
>
> On 14-07-08 01:47 PM, Seenu wrote:
> > Hi Matthew,
> >
> > Thanks for prompt reply. I fetched the sample project from the above
> > location.
> > I am able to create sample nexus trace file with utility class and
> > explore how the TMF framework works.
> >
> > I'm going through the Analysis Framework and it looks interesting for
> > my needs. Is there any sample project which can demonstrate how to
> > define new Analysis Modules, Output Type and attach to new view.
> >
> > The documentation provided is good for me to get a high level
> > understanding. I'm trying to understand the concept by going through
> > how it used in implementation of CPU Usage and Statistics Analysis and
> > I'm finding it little complicated with Lttng dependent code.
> >
> > I would appreciate any other information/examples to explore this
> further.
> >
> > Best Regards
> > Srinivas G
> >
> >
> > On Mon, Jul 7, 2014 at 10:19 PM, Matthew Khouzam
> > <matthew.khou...@ericsson.com <mailto:matthew.khou...@ericsson.com>>
> > wrote:
> >
> >     Hi,
> >     Thanks for the interest! The patch is on gerrit, here
> >     https://git.eclipse.org/r/#/c/13454/ , don't hesitate to ask if
> >     you have
> >     any other questions.
> >
> >     Matthew
> >     On 14-07-07 11:50 AM, Seenu wrote:
> >     > Hi,
> >     > I am trying to experiment with TMF plugins and creating a new trace
> >     > type by following TMF developer guide. There was a mention of
> >     > NexusTrace trace type. Where is the source code available for it?
> >     >
> >     > The following is mentioned in the TMF Developer guide. But I can't
> >     > find the example in git.
> >     >
> >     > The described example is available in the
> >     > org.eclipse.linuxtools.tracing.examples.(tests.)trace.nexus
> packages
> >     > with a trace generator and a quick test case.
> >     >
> >     >
> >     > Best Regards
> >     > Srinivas G
> >     >
> >     >
> >     > _______________________________________________
> >     > linuxtools-dev mailing list
> >     > linuxtools-dev@eclipse.org <mailto:linuxtools-dev@eclipse.org>
> >     > To change your delivery options, retrieve your password, or
> >     unsubscribe from this list, visit
> >     > https://dev.eclipse.org/mailman/listinfo/linuxtools-dev
> >
> >     _______________________________________________
> >     linuxtools-dev mailing list
> >     linuxtools-dev@eclipse.org <mailto:linuxtools-dev@eclipse.org>
> >     To change your delivery options, retrieve your password, or
> >     unsubscribe from this list, visit
> >     https://dev.eclipse.org/mailman/listinfo/linuxtools-dev
> >
> >
> >
> >
> > _______________________________________________
> > linuxtools-dev mailing list
> > linuxtools-dev@eclipse.org
> > To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> > https://dev.eclipse.org/mailman/listinfo/linuxtools-dev
>
> _______________________________________________
> linuxtools-dev mailing list
> linuxtools-dev@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/linuxtools-dev
>
_______________________________________________
linuxtools-dev mailing list
linuxtools-dev@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/linuxtools-dev

Reply via email to