.gitignore: ignore local vscode workspace settings file
[lttng-tools.git] / tests / utils / testapp / gen-ust-nevents-str / tp.h
index 9f9ab95b5b79a9c54a7187b3955f1f756482830e..3a4054a84cfd5a45cfeee7feeee8fa21dc6022b6 100644 (file)
@@ -5,41 +5,24 @@
 #define _TRACEPOINT_TP_H
 
 /*
- * Copyright (C) 2017 Philippe Proulx <pproulx@efficios.com>
+ * Copyright (C) 2017 Philippe Proulx <pproulx@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; version 2.1 of the License.
+ * SPDX-License-Identifier: LGPL-2.1-only
  *
- * 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 <lttng/tracepoint.h>
 
-TRACEPOINT_EVENT(tp, the_string,
-       TP_ARGS(
-               int, i,
-               int, arg_i,
-               const char *, str
-       ),
-       TP_FIELDS(
-               ctf_integer(int, i, i)
-               ctf_integer(long, arg_i, arg_i)
-               ctf_string(str, str)
-       )
-)
+TRACEPOINT_EVENT(tp,
+                the_string,
+                TP_ARGS(int, i, int, arg_i, const char *, str),
+                TP_FIELDS(ctf_integer(int, i, i) ctf_integer(long, arg_i, arg_i)
+                                  ctf_string(str, str)))
 
 #endif /* _TRACEPOINT_TP_H */
 
-#undef TRACEPOINT_INCLUDE_FILE
-#define TRACEPOINT_INCLUDE_FILE ./tp.h
+#undef TRACEPOINT_INCLUDE
+#define TRACEPOINT_INCLUDE "./tp.h"
 
 /* This part must be outside ifdef protection */
 #include <lttng/tracepoint-event.h>
This page took 0.02939 seconds and 4 git commands to generate.