Also use short signal name for the trap function
[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
10 trace_mark(ust, java_event, "name %s args %s", ev_name_cstr, args_cstr);
11}
12
13MARKER_LIB
This page took 0.023261 seconds and 4 git commands to generate.