Move away files that will be deprecated
[lttng-ust.git] / java / UST.c
CommitLineData
5ab4c5cb
PMF
1#include <jni.h>
2#include <ust/marker.h>
3
4JNIEXPORT 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
686debc3 10 ust_marker(ust, java_event, "name %s args %s", ev_name_cstr, args_cstr);
5ab4c5cb
PMF
11}
12
b521931e 13UST_MARKER_LIB
This page took 0.023375 seconds and 4 git commands to generate.