X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=README.md;h=cfe2c0b5a8730c82558d823453ba46838bf8fa82;hb=fd2b8059f2b96840e7169bf2a397c32b26216242;hp=27f0b8b4670eb625a3c7aab7748fa0fedb158dd4;hpb=9a24d281070f4c3240ecb0ebbe506734dae27ad2;p=lttng-ust-java-tests.git diff --git a/README.md b/README.md index 27f0b8b..cfe2c0b 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ Prerequisites * Java 1.8 * [Apache Maven](https://maven.apache.org/) 3.0+ * A recent version of [LTTng-Tools](https://lttng.org/download/) -* A recent version of [Babeltrace](http://www.efficios.com/babeltrace) +* A recent version of [Babeltrace 2.x](http://www.efficios.com/babeltrace) * A git branch or version of LTTng-UST you want to test For example, on Ubuntu you can use the @@ -22,7 +22,7 @@ OpenJDK from the main repository: sudo apt-add-repository ppa:lttng/ppa sudo apt-get update - sudo apt-get install lttng-tools babeltrace maven openjdk-8-jre + sudo apt-get install lttng-tools babeltrace2 maven openjdk-8-jre Also make sure `mvn -version` reports a `Java version: 1.8` or higher. If it does not, you may need to set your `JAVA_HOME` accordingly. @@ -146,6 +146,9 @@ You should hit the breakpoint at some point and from there use steps etc. If you want to debug lttng-ust, you need to insert a breakpoint at a valid point in time for the test and then use gdb to hook yourself to the java process. From there debugging is the same as any C application. +You will need to ignore SIGSEV from java under gdb: + + handle SIGSEGV nostop noprint pass Running the benchmarks ----------------------