Remove O_LARGEFILE from tests
[lttng-ust.git] / liblttng-ust-java / LTTNG_UST.c
index e61c63bd752d2e92f97fbcfa3b8d65df58a9effb..af29c1e967c1d8d91a5f838bb07a56460085fd1c 100644 (file)
@@ -1,5 +1,24 @@
+/*
+ * Copyright (C) 2011-2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
+ *
+ * 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 <jni.h>
 
+#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_javastring, ev_name_cstr, args_cstr);
 }
This page took 0.023498 seconds and 4 git commands to generate.