Re: [linuxtools-dev] TMF: Analysis requirement API

2014-02-20 Thread Alexandre Montplaisir
On 14-02-20 10:52 AM, Geneviève Bastien wrote: > > > * The LTTng UST Memory usage analysis is a more tricky (and > interesting!) case: It has events. Adding the context TID and procname > will give a more interesting analysis, but the analysis can still do > something without it. That's interestin

Re: [linuxtools-dev] TMF: Analysis requirement API

2014-02-20 Thread Alexandre Montplaisir
>> >> Some questions: >> - A "string" requirement is quite generic. What actual types of >> requirements do you have in mind? I can see event type (or event name), >> but what else? If we can pinpoint a few specific types of requirements, >> we could have a couple of methods specifically for those

Re: [linuxtools-dev] TMF: Analysis requirement API

2014-02-20 Thread Geneviève Bastien
Hi Guilliano, Thanks! I'll add your contribution so far on gerrit to be able to better appreciate it and review it. On 02/20/2014 10:11 AM, Guilliano Molaire wrote: Hi Alex, On 19/02/2014 4:45 PM, Alexandre Montplaisir wrote: Hi Guilliano, Interesting project! Indeed, there is already an A

Re: [linuxtools-dev] TMF: Analysis requirement API

2014-02-20 Thread Guilliano Molaire
Hi Alex, On 19/02/2014 4:45 PM, Alexandre Montplaisir wrote: Hi Guilliano, Interesting project! Indeed, there is already an API for traces to indicate if they contain specific events (hasEvent(String), hasAllEvents(String[]),...).[1] The next step would be to have a way for an analysis to spec

Re: [linuxtools-dev] TMF: Analysis requirement API

2014-02-19 Thread Alexandre Montplaisir
Hi Guilliano, Interesting project! Indeed, there is already an API for traces to indicate if they contain specific events (hasEvent(String), hasAllEvents(String[]),...).[1] The next step would be to have a way for an analysis to specify which event types they need, so we can match the traces and