Installed headers relicensing and cleanup
[lttng-ust.git] / include / lttng / ringbuffer-config.h
index 4fa57750b9dd62a8132cb59f14ff935b525b3b21..151fda13e9add65078828dd08ef6f3dbc098accb 100644 (file)
@@ -9,13 +9,22 @@
  * Ring buffer configuration header. Note: after declaring the standard inline
  * functions, clients should also include linux/ringbuffer/api.h.
  *
- * Dual LGPL v2.1/GPL v2 license.
+ * THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED
+ * OR IMPLIED.  ANY USE IS AT YOUR OWN RISK.
+ *
+ * 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.
  */
 
 #include <errno.h>
 #include "lttng/ust-tracer.h"
 #include "lttng/usterr-signal-safe.h"
-#include "lttng/kcompat/kcompat.h"
+#include <stdint.h>
+#include <stddef.h>
+#include <urcu/arch.h>
 #include "lttng/align.h"
 
 struct lttng_ust_lib_ring_buffer;
@@ -161,6 +170,12 @@ struct lttng_ust_lib_ring_buffer_config {
         */
        unsigned int tsc_bits;
        struct lttng_ust_lib_ring_buffer_client_cb cb;
+       /*
+        * client_type is used by the consumer process (which is in a
+        * different address space) to lookup the appropriate client
+        * callbacks and update the cb pointers.
+        */
+       int client_type;
 };
 
 /*
This page took 0.027922 seconds and 4 git commands to generate.