{
// Variables to detect if the event have been filled at least once
// this make possible the detection of "uninitialized" struct in Ltt
- // Can be "EOK", "ERANGE" or "EPERM" (defined in Jaf_C_Common)
+ // Can be "EOK", "ERANGE" or "EPERM" (defined in Jni_C_Common)
private int eventState = EPERM; // Start with EPERM to ensure sanity
// Internal C pointer of the JniEvent used in LTT
* @param markerFieldPtr C Pointer (converted in long) to marker_field C Structure
*/
private void addMarkerFieldFromC(String markerFieldName, long markerFieldPtr) {
- // Create a new Jaf_markerField object and insert it in the map
+ // Create a new Jni_markerField object and insert it in the map
// the maker field fill itself with LTT data while being constructed
try {
JniMarkerField newMarkerField = allocateNewJniMarkerField( new Jni_C_Pointer_And_Library_Id(thisMarkerPtr.getLibraryId(), markerFieldPtr));
* Open an existing trace.<p>
*
* The tracepath is a directory and needs to exist, otherwise
- * a JafOpenTraceFailedException is throwed.
+ * a JniOpenTraceFailedException is throwed.
*
* @param newPath The <b>directory</b> of the trace to be opened
*
populateTracefileInformation();
}
catch (JniNoSuchEventException e) {
- throw new JniTracefileWithoutEventException("JniEvent constructor reported that no event of this type are usable. (Jaf_Tracefile)");
+ throw new JniTracefileWithoutEventException("JniEvent constructor reported that no event of this type are usable. (Jni_Tracefile)");
}
}
// Native access functions
protected native void ltt_getTraceVersion(String tracepath);
- protected native void ltt_setLibraryPath(String ldLibraryPath);
// Variables to store version number
private int majorNumber = 0;