Fix: accept 65536 bytes long bytecodes
[lttng-ust.git] / include / lttng / ust-abi.h
index 8bcaa380e10c49fbf9a788bf49cc7f7ed9a2c802..a72d67ef6ce837e2187a3632425f16a8255fdb4f 100644 (file)
 
 #define LTTNG_UST_SYM_NAME_LEN 256
 
+/* Version for comm protocol between sessiond and ust */
 #define LTTNG_UST_COMM_VERSION_MAJOR           2
 #define LTTNG_UST_COMM_VERSION_MINOR           0
 
+/* Version for ABI between liblttng-ust, sessiond, consumerd */
+#define LTTNG_UST_INTERNAL_MAJOR_VERSION       3
+#define LTTNG_UST_INTERNAL_MINOR_VERSION       0
+#define LTTNG_UST_INTERNAL_PATCHLEVEL_VERSION  0
+
 enum lttng_ust_instrumentation {
        LTTNG_UST_TRACEPOINT            = 0,
        LTTNG_UST_PROBE                 = 1,
@@ -168,7 +174,7 @@ struct lttng_ust_calibrate {
 #define FILTER_BYTECODE_MAX_LEN                65536
 struct lttng_ust_filter_bytecode {
        uint16_t len;
-       uint16_t reloc_table_offset;
+       uint16_t reloc_offset;
        char data[0];
 };
 
This page took 0.022542 seconds and 4 git commands to generate.