Move to kernel style SPDX license identifiers
[lttng-ust.git] / include / lttng / tracepoint-types.h
index 77e2e25d1621bce2d4dacf2582a47d0f5e18c7a2..ceb476a6f9891d760f0e43e60bda928aed2acae0 100644 (file)
@@ -1,31 +1,25 @@
-#ifndef _LTTNG_TRACEPOINT_TYPES_H
-#define _LTTNG_TRACEPOINT_TYPES_H
-
 /*
- * Copyright (c) 2011 - Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
- *
- * THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED
- * OR IMPLIED.  ANY USE IS AT YOUR OWN RISK.
+ * SPDX-License-Identifier: MIT
  *
- * Permission is hereby granted to use or copy this program
- * for any purpose,  provided the above notices are retained on all copies.
- * Permission to modify the code and to distribute modified code is granted,
- * provided the above notices are retained, and a notice that the code was
- * modified is included with the above copyright notice.
+ * Copyright (C) 2011-2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
  */
 
-struct tracepoint_probe {
-       void *func;
+#ifndef _LTTNG_TRACEPOINT_TYPES_H
+#define _LTTNG_TRACEPOINT_TYPES_H
+
+struct lttng_ust_tracepoint_probe {
+       void (*func)(void);
        void *data;
 };
 
-#define TRACEPOINT_PADDING     16
-struct tracepoint {
+#define LTTNG_UST_TRACEPOINT_PADDING   16
+struct lttng_ust_tracepoint {
        const char *name;
        int state;
-       struct tracepoint_probe *probes;
+       struct lttng_ust_tracepoint_probe *probes;
        int *tracepoint_provider_ref;
-       char padding[TRACEPOINT_PADDING];
+       const char *signature;
+       char padding[LTTNG_UST_TRACEPOINT_PADDING];
 };
 
 #endif /* _LTTNG_TRACEPOINT_TYPES_H */
This page took 0.023684 seconds and 4 git commands to generate.