library mass rename: add lttng- prefix
[lttng-ust.git] / liblttng-ust-java / UST.c
1 #include <jni.h>
2
3 #define TRACEPOINT_CREATE_PROBES
4 #include "ust_java.h"
5
6 JNIEXPORT void JNICALL Java_UST_ust_1java_1event (JNIEnv *env, jobject jobj,
7 jstring ev_name, jstring args)
8 {
9 jboolean iscopy;
10 const char *ev_name_cstr = (*env)->GetStringUTFChars(env, ev_name,
11 &iscopy);
12 const char *args_cstr = (*env)->GetStringUTFChars(env, args, &iscopy);
13
14 tracepoint(ust_java_event, ev_name_cstr, args_cstr);
15 }
This page took 0.046393 seconds and 5 git commands to generate.