X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=liblttng-ust-java%2FLTTNG_UST.c;fp=liblttng-ust-java%2FLTTNG_UST.c;h=0000000000000000000000000000000000000000;hb=46adf653a1d01b8e87baa30cc9b92616eee1a788;hp=af29c1e967c1d8d91a5f838bb07a56460085fd1c;hpb=1a94cf835c07682e9be3081a6445a83cf5b01843;p=lttng-ust.git diff --git a/liblttng-ust-java/LTTNG_UST.c b/liblttng-ust-java/LTTNG_UST.c deleted file mode 100644 index af29c1e9..00000000 --- a/liblttng-ust-java/LTTNG_UST.c +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (C) 2011-2012 Mathieu Desnoyers - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; only - * version 2.1 of the License. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#include - -#define TRACEPOINT_DEFINE -#define TRACEPOINT_CREATE_PROBES -#include "lttng_ust_java.h" - -JNIEXPORT void JNICALL Java_LTTNG_UST_ust_1java_1event (JNIEnv *env, - jobject jobj, - jstring ev_name, - jstring args) -{ - jboolean iscopy; - const char *ev_name_cstr = (*env)->GetStringUTFChars(env, ev_name, - &iscopy); - const char *args_cstr = (*env)->GetStringUTFChars(env, args, &iscopy); - - tracepoint(lttng_ust_java, string, ev_name_cstr, args_cstr); -}