Rename libustd to libustconsumer and ustd to ust-consumerd
[lttng-ust.git] / java / UST.c
1 #include <jni.h>
2 #include <ust/marker.h>
3
4 JNIEXPORT void JNICALL Java_UST_ust_1java_1event (JNIEnv *env, jobject jobj, jstring ev_name, jstring args)
5 {
6 jboolean iscopy;
7 const char *ev_name_cstr = (*env)->GetStringUTFChars(env, ev_name, &iscopy);
8 const char *args_cstr = (*env)->GetStringUTFChars(env, args, &iscopy);
9
10 trace_mark(ust, java_event, "name %s args %s", ev_name_cstr, args_cstr);
11 }
12
13 MARKER_LIB
This page took 0.051283 seconds and 4 git commands to generate.