X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=liblttng-ust-java%2FLTTNG_UST.c;h=af29c1e967c1d8d91a5f838bb07a56460085fd1c;hb=refs%2Fheads%2Fstable-2.0;hp=13d05527c4a83ccf2213788a25a7358a712a80e0;hpb=cc885e4931367615b2a037262e7213023eea370b;p=lttng-ust.git diff --git a/liblttng-ust-java/LTTNG_UST.c b/liblttng-ust-java/LTTNG_UST.c index 13d05527..af29c1e9 100644 --- a/liblttng-ust-java/LTTNG_UST.c +++ b/liblttng-ust-java/LTTNG_UST.c @@ -1,3 +1,21 @@ +/* + * 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 @@ -14,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); }