X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=liblttng-ust-java%2FLTTNG_UST.c;h=af29c1e967c1d8d91a5f838bb07a56460085fd1c;hb=d9ecffa9ad6203df66b5fa81e8d505c3a9779c16;hp=e61c63bd752d2e92f97fbcfa3b8d65df58a9effb;hpb=2ac851987b0cd66f9b566da2a1854fa309c3bbd0;p=lttng-ust.git diff --git a/liblttng-ust-java/LTTNG_UST.c b/liblttng-ust-java/LTTNG_UST.c index e61c63bd..af29c1e9 100644 --- a/liblttng-ust-java/LTTNG_UST.c +++ b/liblttng-ust-java/LTTNG_UST.c @@ -1,5 +1,24 @@ +/* + * 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" @@ -13,5 +32,5 @@ JNIEXPORT void JNICALL Java_LTTNG_UST_ust_1java_1event (JNIEnv *env, &iscopy); const char *args_cstr = (*env)->GetStringUTFChars(env, args, &iscopy); - tracepoint(lttng_ust_java_string, ev_name_cstr, args_cstr); + tracepoint(lttng_ust_java, string, ev_name_cstr, args_cstr); }