Fix: Don't override user variables within the build system
[lttng-ust.git] / tests / tracepoint / tracepoint_test.h
index 6b4dcdbce6850f9d05d633c5c047506312cfaec4..717fda7d0f91479d64b0dc1de592a4023e3185f9 100644 (file)
@@ -1,7 +1,24 @@
+/*
+ * Copyright 2010 - David Goulet <david.goulet@polymtl.ca>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
 #include <ust/tracepoint.h>
 
-DECLARE_TRACE(ust_event, TP_PROTO(unsigned int v), TP_ARGS(v));
-DECLARE_TRACE(ust_event2, TP_PROTO(unsigned int v), TP_ARGS(v));
+DECLARE_TRACEPOINT(ust_event, TP_PROTO(unsigned int v), TP_VARS(v));
+DECLARE_TRACEPOINT(ust_event2, TP_PROTO(unsigned int v), TP_VARS(v));
 
 struct message {
        char *payload;
This page took 0.02368 seconds and 4 git commands to generate.