dynamic-type: remove underscore prefix from mapping names
[lttng-ust.git] / include / lttng / ust-abi.h
index 843fe4ed97c2fccf85e195b80578ca873f19cc5d..1342ca168e74aa6552cf877496436dde4d9836fd 100644 (file)
 #include <stdint.h>
 #include <lttng/ust-compiler.h>
 
-#ifndef __ust_stringify
-#define __ust_stringify1(x)    #x
-#define __ust_stringify(x)     __ust_stringify1(x)
-#endif /* __ust_stringify */
-
 #define LTTNG_UST_ABI_SYM_NAME_LEN                     256
 #define LTTNG_UST_ABI_PROCNAME_LEN             16
 
@@ -24,7 +19,7 @@
 #define LTTNG_UST_ABI_COMM_MAGIC                       0xC57C57C5
 
 /* Version for ABI between liblttng-ust, sessiond, consumerd */
-#define LTTNG_UST_ABI_MAJOR_VERSION                    9
+#define LTTNG_UST_ABI_MAJOR_VERSION                    10
 #define LTTNG_UST_ABI_MAJOR_VERSION_OLDEST_COMPATIBLE  8
 #define LTTNG_UST_ABI_MINOR_VERSION            0
 
@@ -103,8 +98,8 @@ struct lttng_ust_abi_counter_dimension {
 
 #define LTTNG_UST_ABI_COUNTER_CONF_PADDING1 67
 struct lttng_ust_abi_counter_conf {
-       uint32_t arithmetic;    /* enum lttng_ust_counter_arithmetic */
-       uint32_t bitness;       /* enum lttng_ust_counter_bitness */
+       uint32_t arithmetic;    /* enum lttng_ust_abi_counter_arithmetic */
+       uint32_t bitness;       /* enum lttng_ust_abi_counter_bitness */
        uint32_t number_dimensions;
        int64_t global_sum_step;
        struct lttng_ust_abi_counter_dimension dimensions[LTTNG_UST_ABI_COUNTER_DIMENSION_MAX];
@@ -308,14 +303,14 @@ struct lttng_ust_abi_object_data {
        } u;
 } __attribute__((packed));
 
-enum lttng_ust_calibrate_type {
+enum lttng_ust_abi_calibrate_type {
        LTTNG_UST_ABI_CALIBRATE_TRACEPOINT,
 };
 
 #define LTTNG_UST_ABI_CALIBRATE_PADDING1       16
 #define LTTNG_UST_ABI_CALIBRATE_PADDING2       (LTTNG_UST_ABI_SYM_NAME_LEN + 32)
 struct lttng_ust_abi_calibrate {
-       enum lttng_ust_calibrate_type type;     /* type (input) */
+       enum lttng_ust_abi_calibrate_type type;         /* type (input) */
        char padding[LTTNG_UST_ABI_CALIBRATE_PADDING1];
 
        union {
This page took 0.031786 seconds and 4 git commands to generate.