Commit | Line | Data |
---|---|---|
69d6a506 AM |
1 | This directory contains the source code for the LTTng integration plugins for |
2 | Eclipse, which includes the generic Tracing and Monitoring Framework (TMF). | |
3 | ||
4 | The plugins are categorized as follows: | |
5 | org.eclipse.linuxtools.ctf.* Common Trace Format (CTF) reader library | |
6 | org.eclipse.linuxtools.gdbtrace.* Support for reading and viewing GDB traces | |
7 | org.eclipse.linuxtools.lttng* LTTng 2.x integration | |
8 | org.eclipse.linuxtools.tmf.* Tracing and Monitoring Framework | |
9 | org.eclipse.linuxtools.tracing.rcp.* Code specific to the RCP version | |
10 | ||
11 | ||
12 | To set up the environment to build TMF from within Eclipse, see this wiki page: | |
13 | http://wiki.eclipse.org/Linux_Tools_Project/LTTng_Eclipse_Plug-in_Development_Environment_Setup | |
14 | ||
15 | ||
16 | ||
17 | ||
18 | To build it using Maven, you first need to build the Linux Tools licensing | |
19 | feature (starting from the root of the source tree): | |
20 | $ cd releng/org.eclipse.linuxtools.license-feature | |
21 | $ mvn clean install | |
22 | Then you can build the LTTng plugins: | |
23 | $ cd ../../lttng | |
24 | $ mvn clean install | |
25 | ||
26 | As long as you don't clear the Maven reactor cache (in ~/.m2), you should not | |
27 | need to rebuild the licensing feature. | |
28 | ||
29 | ||
30 | The default command will compile and run the unit tests. Running the tests can | |
31 | take some time, to skip them you can append "-Dmaven.test.skip=true" to the | |
32 | 'mvn' command: | |
33 | $ mvn clean install -Dmaven.test.skip=true | |
34 | ||
35 | The RCP is not built by default, to build it you need to add "-PtracingRcp" to | |
36 | the 'mvn' command: | |
37 | $ mvn clean install -PtracingRcp -Dmaven.test.skip=true | |
58d9bc36 AM |
38 | |
39 | This will build the RCP for all supported architectures. The resulting archives | |
40 | will be placed in lttng/org.eclipse.linuxtools.tracing.rcp.product/target/products | |
41 |