Tracepoints: Introduce DEFINE/DECLARE_TRACEPOINT, TRACEPOINT_EVENT...
[ust.git] / tests / hello / tp.h
index 6064283b068d43070ed0002406378591939794a9..833cb40c85fe9a98d3b0341e15627f0e30c25027 100644 (file)
@@ -1,5 +1,24 @@
-#include "tracepoint.h"
+/* Copyright (C) 2009  Pierre-Marc Fournier
+ *
+ * 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; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * 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
+ */
 
-DECLARE_TRACE(hello_tptest,
-             TPPROTO(int anint),
-             TPARGS(anint));
+#include <ust/tracepoint.h>
+
+DECLARE_TRACEPOINT(hello_tptest,
+                  TP_PROTO(int anint),
+                  TP_ARGS(anint));
+
+DECLARE_TRACEPOINT_NOARGS(hello_tptest2);
This page took 0.023244 seconds and 4 git commands to generate.