update java
[lttv.git] / ltt-usertrace / README
index 9e658d9e8fd24d7cd812839226db495fbbc8787f..205fcca47af21d0e232cbeeb0b79908e9cffe4ef 100644 (file)
@@ -105,6 +105,7 @@ cd /usr/src/ltt-usertrace
 
 user_myfacility.xml:
 
+<?xml version="1.0"?>
 <facility name="user_myfacility">
   <description>Sample facility</description>
   <event name="myevent">
@@ -240,3 +241,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.023124 seconds and 4 git commands to generate.