[linuxtools-dev] Cool stuff from Tracing Summit and LinuxCon '14

2014-10-19 Thread Francis Giraldeau
I did an executive summary of things we presented and other interesting stuff from TracingSummit/LinuxCon last week. http://multivax.blogspot.ca/2014/10/linuxcon-2014-dusseldorf.html I made a demo of LTTng analysis in Trace Compas to Linus Torvalds, and he was quite impressed, so congrats to all

Re: [linuxtools-dev] Memory usage of TmfExperiment

2014-08-06 Thread Francis Giraldeau
a.org/wiki/The_Incredible_Machine_(series) > > Marc-Andre > > -- > *From:* linuxtools-dev-boun...@eclipse.org [ > linuxtools-dev-boun...@eclipse.org] on behalf of Francis Giraldeau [ > francis.girald...@gmail.com] > *Sent:* Wednesday, August 06 2

[linuxtools-dev] Memory usage of TmfExperiment

2014-08-06 Thread Francis Giraldeau
I used Eclipse Memory Analyzer (MAT) to find the object holding a reference to a large temporary chunk of memory. It appears that TmfExperiment is not AutoClosable as other traces, and calling dispose() method on the experiment solved the issue. (Whole story: http://multivax.blogspot.ca/2014/08/pin

Re: [linuxtools-dev] SWT issues when using GTK 3

2014-04-11 Thread Francis Giraldeau
afe (-Pplatform-kepler). That > said, there are other issues with Luna + GTK3 on 12.04 and 13.10 that are > still being worked on in SWT. > > Marc-André > > > On 14-04-11 04:17 PM, Francis Giraldeau wrote: > > I just upgraded to Ubuntu 14.04, and when using the TMF

[linuxtools-dev] SWT issues when using GTK 3

2014-04-11 Thread Francis Giraldeau
I just upgraded to Ubuntu 14.04, and when using the TMF RCP product, widgets are crippled. I had to set the environment variable SWT_GTK3=0 to make it work properly. This Ubuntu release is due for next week, so I guess that quite a few people will get the issue. Is there a definitive solution to th

Re: [linuxtools-dev] Tracing TMF for debugging

2014-04-08 Thread Francis Giraldeau
ally I turn this on in Run/Debug Configurations, select your JUnit > Plug-in Test configuration, then under the Tracing tab, enable tracing for > org.eclipse.linuxtools.tmf.core plug-in and select the four check boxes. > > > On Mon, Apr 7, 2014 at 4:55 PM, Francis Giraldeau < >

[linuxtools-dev] Tracing TMF for debugging

2014-04-07 Thread Francis Giraldeau
I'm trying to trace TMF for debugging purposes. I found the class TmfCoreTracer and some general instructions [1]. Here is the .options file I created: org.eclipse.linuxtools.tmf.core/component=true org.eclipse.linuxtools.tmf.core/request=true org.eclipse.linuxtools.tmf.core/signal=true org.eclips

Re: [linuxtools-dev] Reduce unit test execution time

2014-04-03 Thread Francis Giraldeau
n load > fragments from wrong architectures for some reason (CDT). Don't forget to > click Add required plugins again if you add more stuff. > > For non-UI tests, it usually takes 1-2 secs to load for me and I don't > have a SSD and I have an i5. > > Hope this helps, >

[linuxtools-dev] Reduce unit test execution time

2014-04-03 Thread Francis Giraldeau
I'm a fan of test driven development, and to be productive and engaging, the feedback of running one unit test should be quick (let's say, under a second). However, running a blank plug-in unit test function takes about 15 seconds on my machine (recent i5 CPU, 8GB RAM, SSD drive). Is there some tri

Re: [linuxtools-dev] [PATCH] TMF: Add get parent to state system

2014-03-27 Thread Francis Giraldeau
Le 2014-03-27 10:15, Marc-André Laperle a écrit : > If that doesn't work, you can create a bug in Bugzilla here: > https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Community > Select the Gerrit component. The webmaster should look at the problem > pretty quickly. OK, we found the problem. I cha

Re: [linuxtools-dev] [PATCH] TMF: Add get parent to state system

2014-03-26 Thread Francis Giraldeau
ewing commit: commit 39704b4b48ed40b07a9b8a3929cc550c8aef42f7 1395770199 sp remote: Authored by: Francis Giraldeau remote: remote: The author is not a committer on the project. remote: error: The author does not have a current Contributor License Agreement (CLA) on file. remote: remote: The author has "signed-off" on th

[linuxtools-dev] [PATCH] TMF: Add get parent to state system

2014-03-25 Thread Francis Giraldeau
: I635326068c2a298b32952599e09b2426b2e1fbb0 Signed-off-by: Francis Giraldeau --- .../core/tests/stateprovider/StateSystemTest.java | 19 +++ .../internal/tmf/core/statesystem/Attribute.java | 16 .../internal/tmf/core/statesystem/AttributeTree.java | 11

Re: [linuxtools-dev] Compilation failed: NullPointerException

2014-03-25 Thread Francis Giraldeau
Le 2014-03-25 13:25, Marc-André Laperle a écrit : > Hi Francis, > > What's the full stack trace? Are you running Eclipse 4.3.1? If so, try > to upgrade to 4.3.2, there was a bug in JDT that had to do with null > annotations. I updated eclipse and the target definition and the baseline and the erro

[linuxtools-dev] Compilation failed: NullPointerException

2014-03-25 Thread Francis Giraldeau
I got this error when starting eclipse today and rebuilding TMF related projects: Errors occurred during the build. Errors running builder 'Java Builder' on project 'org.eclipse.linuxtools.tmf.core'. java.lang.NullPointerException I tried to create a new workspace and re-import projects, an

[linuxtools-dev] Get parent quark in state system

2014-03-24 Thread Francis Giraldeau
I would like to know if it is possible to query the get the parent quark of a given quark? Here is an example of usage: ITmfStateSystemBuilder ss; ss.getSubAttributes(quark); // get children, exists ss.getParentAttributes(quark); // get parent, does not exist? Thanks! Francis ___

[linuxtools-dev] System level profiling of APT

2013-12-05 Thread Francis Giraldeau
I did some system-level profiling of APT using kernel tracing and the waiting dependency analysis currently in review for inclusion in Eclipse Linux Tools. You can find the details on my blog: http://multivax.blogspot.ca/2013/12/system-level-profiling-of-apt.html Cheers, Francis

Re: [linuxtools-dev] Tmf: a model to support new trace analysis types

2013-07-15 Thread Francis Giraldeau
ysis modules. > > I'd like some feedback on the proposed approach. I know Francis Giraldeau > has been thinking on this problem as well, mostly on the dependencies > between analysis. I think this approach is complementary. The idea is to build more complex analysis based on si

Re: [linuxtools-dev] Headless TMF Experiment ?

2013-07-15 Thread Francis Giraldeau
ForCompletion(); Cheers, Francis Giraldeau 2013/7/15 Xavier Raynaud : > Hi, > > I've requests from some customers to have *more* than a RCP for trace > viewer: > They want to dump some trace analysis from command line. > > Is it possible to create a TmfExperiment in hea

[linuxtools-dev] Missing dependency in lttng dev setup

2013-04-04 Thread Francis Giraldeau
Seems that these two dependencies are required to build the new gdb stuff: CDT Common GDB Support C/C++ DSF GDB Debugger Integration I can update the documentation accordingly if I get the confirmation that this is indeed correct. Thanks, Francis ___

Re: [linuxtools-dev] TMF: Expressing dependency information and displaying it

2013-03-27 Thread Francis Giraldeau
Le 2013-03-25 11:58, Geneviève Bastien a écrit : > Hi all, > > As trace analysis tools become available in TMF (trace > synchronization, critical path calculation, latency, etc), a > requirement is to be able to express dependencies between events. As for the critical path, I'm working on a flat v

[linuxtools-dev] [lttng] CTFTraceReader inconsistencies

2012-11-22 Thread Francis Giraldeau
Hi, There seems to exists inconsistency in CTFTraceReader timestamps. * getStartTime() returns a raw timestamps * A call to getEndTime() after object instantiation returns a raw timestamps equals to start. * After reading an event, getEndTime() returns the timestamps + offset of the trace. Whe

Re: [linuxtools-dev] lttng getting started : Sample Traces for Download ?

2012-11-20 Thread Francis Giraldeau
Le 2012-11-20 10:16, Oberhuber, Martin a écrit : > Dear LTTng team, > > > > I’m evaluating the LTTng tooling, and I’m wondering whether you guys > have any existing sample traces for download ? I do maintain a traceset here (on a 8 cores system): http://secretaire.dorsal.polymtl.ca/~fgiraldea

Re: [linuxtools-dev] LTTng target definition

2012-06-15 Thread Francis Giraldeau
Ok, got it. That was stupid. It works if the option "Include required software" is NOT checked. Thanks! Francis Giraldeau Le 2012-06-14 16:36, Francois Chouinard a écrit : > Hi Francis, > > I'm a bit confused by your finding. > > I know 'Works for me'

Re: [linuxtools-dev] LTTng target definition

2012-06-14 Thread Francis Giraldeau
ad.eclipse.org/technology/linuxtools/updates-nightly* Then select "LTTng - Linux Tracing Toolkit" and click Finish. I tried other features from linuxtools and the same problem occurs. I tried other p2 repository and it works. Weird? Francis Giraldeau smime.p7s Description: S

[linuxtools-dev] LTTng target definition

2012-06-14 Thread Francis Giraldeau
Hi, I would like to build a plug-in based on LTTng. For that purpose, I want to add to my target platform definition the p2 nightly build of linuxtools. I have this error message when selecting LTTng feature: Missing requirement: LTTNG - Linux Tracing Toolkit 1.0.0.201206120405 (org.eclipse.li

[linuxtools-dev] Setup Eclipse LTTng Devel Environment

2012-04-18 Thread Francis Giraldeau
For those that may need to get started for LTTng eclipse plug-in development: http://wiki.eclipse.org/Linux_Tools_Project/LTTng_Eclipse_Plug-in_Development_Environement_Setup Cheer, Francis ___ linuxtools-dev mailing list linuxtools-dev@eclipse.org h

Re: [linuxtools-dev] Question about issue with loading an LTTng trace

2011-03-17 Thread Francis Giraldeau
On Thu, 2011-03-17 at 09:21 -0400, Francois Chouinard wrote: > Hi Aaron, > > > The exception you get suggests that the trace header was not read > successfully (it reports v0.0 instead of v2.6) by the parser loader. > > If however I try to open these traces with the Eclipse view

Re: [linuxtools-dev] Modeled state in TMF/LTTng

2011-01-12 Thread Francis Giraldeau
Hi, I did a small analysis based on inventory of 125 trace events in Linux and MariaDB (instrumented with UST). Here are some observations and categories of events and how they can be related to states. * Initial state events: populate the initial state. Some lists are static (ex: IRQs) a

Re: [linuxtools-dev] Modeled state in TMF/LTTng

2011-01-08 Thread Francis Giraldeau
On Fri, 2011-01-07 at 22:01 -0500, Alexandre Montplaisir wrote: > On 11-01-07 05:50 PM, Michel Dagenais wrote: > > The Multi-Core Association is working on a Trace Format Standard. While > > they are looking at metadata describing the events (type of events, the > > type of their fields...), the

[linuxtools-dev] CPU history view

2010-12-09 Thread Francis Giraldeau
Hi, I did a small prototype for CPU history average usage. You can look at it here: http://multivax.blogspot.com/2010/12/cpu-history-from-kernel-trace.html My goal is to integrate this in TMF at some point. Comments are welcome. Cheer, Francis _

Re: [linuxtools-dev] Running TMF unit tests

2010-12-01 Thread Francis Giraldeau
Francois Chouinard a écrit : Hi, How are you executing the test? You would get NullPointerException if you try to run it as a "JUnit Test" instead of "JUnit Plug-in Test". Thanks, hat was the problem. There is also a test.xml file in the project's directory, seems there to run tests with a

[linuxtools-dev] TmfDataProvider exception handing

2010-11-30 Thread Francis Giraldeau
Hi, I'm using TmfExperiment.sendRequest() with a class where I'm overloading handleData() for event processing. I have a problem with exceptions, because when an exception is throwned in handleData(), there is a general catch in TmfDataProvider that prevent this exception to surface. In s

[linuxtools-dev] Running TMF unit tests

2010-11-30 Thread Francis Giraldeau
Hi, I just imported the tmf projects into eclipse and I'm having trouble to run tmf unit tests. For example, when trying to run TmfTraceTest with junit within eclipse, I got java.lang.NullPointerException, throwned by the FileLocator because the bundle returned by TmfCoreTestPlugin is nul