TRACE2("../org.eclipse.linuxtools.ctf.core.tests/traces/trace2"),
/** Kernel trace with event contexts */
KERNEL_VM("../org.eclipse.linuxtools.ctf.core.tests/traces/kernel_vm"),
+ /** Trace synchronization: source trace */
+ SYNC_SRC("../org.eclipse.linuxtools.ctf.core.tests/traces/synctraces/scp_src"),
+ /** Trace synchronization: destination trace */
+ SYNC_DEST("../org.eclipse.linuxtools.ctf.core.tests/traces/synctraces/scp_dest");
+ /** UST trace with lots of lost events */
+ HELLO_LOST("../org.eclipse.linuxtools.ctf.core.tests/traces/hello-lost");
private final String fPath;
# Trace using event contexts
wget http://www.dorsal.polymtl.ca/~alexmont/data/kernel_vm.tar.bz2 -O- | tar xvjf - &&
+ # Trace with lost events
+ wget http://www.dorsal.polymtl.ca/~alexmont/data/hello-lost.tar.bz2 -O- | tar xvjf - &&
+
# CTF test suite, used for testing CTF parser compliance
git clone https://github.com/efficios/ctf-testsuite.git
+
+# Trace used by the lttng2 kernel to match packets and synchronize
+wget http://www.dorsal.polymtl.ca/~gbastien/traces/synctraces.tar.gz -O- | tar xvzf - &&
+
<get ignoreerrors="true" dest="sample-ctf-trace-20120412.tar.bz2" skipexisting="true" src="http://lttng.org/files/samples/sample-ctf-trace-20120412.tar.bz2"/>
<get ignoreerrors="true" dest="trace2.tar.bz2" skipexisting="true" src="http://www.dorsal.polymtl.ca/~alexmont/data/trace2.tar.bz2"/>
<get ignoreerrors="true" dest="kernel_vm.tar.bz2" skipexisting="true" src="http://www.dorsal.polymtl.ca/~alexmont/data/kernel_vm.tar.bz2" />
+ <get ignoreerrors="true" dest="synctraces.tar.gz" skipexisting="true" src="http://www.dorsal.polymtl.ca/~gbastien/traces/synctraces.tar.gz" />
+ <get ignoreerrors="true" dest="hello-lost.tar.bz2" skipexisting="true" src="http://www.dorsal.polymtl.ca/~alexmont/data/hello-lost.tar.bz2" />
<exec executable = "git" failifexecutionfails="false">
<arg value = "clone"/>
<arg value = "https://github.com/efficios/ctf-testsuite.git"/>
<available file="sample-ctf-trace-20120412.tar.bz2"/>
<available file="trace2.tar.bz2"/>
<available file="kernel_vm.tar.bz2" />
+ <available file="synctraces.tar.gz" />
+ <available file="hello-lost.tar.bz2" />
</and>
</condition>
<antcall target="extractTraces"/>
<bunzip2 src="sample-ctf-trace-20120412.tar.bz2"/>
<bunzip2 src="trace2.tar.bz2"/>
<bunzip2 src="kernel_vm.tar.bz2" />
- <gunzip src="synctraces.tar.gz" />
++ <gunzip src="synctraces.tar.gz" />
+ <bunzip2 src="hello-lost.tar.bz2" />
++
<untar src="sample-ctf-trace-20120412.tar" dest="." />
<untar src="trace2.tar" dest="." />
<untar src="kernel_vm.tar" dest="." />
- <untar src="synctraces.tar" dest="." />
++ <untar src="synctraces.tar" dest="." />
+ <untar src="hello-lost.tar" dest="." />
++
<echo message="Traces extracted successfully"/>
</target>
</project>