create directories branches, tags, trunk
[lttv.git] / ltt-usertrace / README
index 8bdd8d2e9033e13d3657446f1e42e67f08a21c41..7e61df23b0bdb00389855fedb20e303f501be3ff 100644 (file)
@@ -27,10 +27,18 @@ gzip -cd ltt-usertrace-x.x.tar.gz | tar xvof -
 
 * Build the sample programs and install the headers and librairies into your
 system :
+(32 bits)
 su
 cd /usr/src/ltt-usertrace
+make clean
+make install (will build and install headers and libraries)
 make
-make install
+(64 bits)
+su
+cd /usr/src/ltt-usertrace
+make clean
+LIB_DIR=/usr/lib64 make install CFLAGS=-m64
+make CFLAGS=-m64
 
 Feel free to look at the sample programs and the Makefile : they demonstrate
 very well the features of the usertrace package and how to use them.
@@ -241,3 +249,12 @@ test_function
 The lookup in LTTV through libbfd has not been implemented yet.
 
 
+* Instrumentation of a java program
+
+See the java/ directory of this package. You will have to create a C library
+that holds the tracing functions, following the java-instrument-string.c. It has
+to be called from the Java code as shown in Sample.java.
+
+The generate.sh scripts compiles and executes the Java program with the JNI
+tracing library.
+
This page took 0.022797 seconds and 4 git commands to generate.