X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=include%2Flttng%2Fust-abi.h;h=fd7180a10d45bf78c9d33d3b97c524e51fc8bc74;hb=4c41b460614826ada066a7e0c26a8b116336bab2;hp=1c11f371f6a5ce328ebcef8ef16885e95e5b8cc3;hpb=c0c0989ab70574e09b2f7e8b48c2da6af664a849;p=lttng-ust.git diff --git a/include/lttng/ust-abi.h b/include/lttng/ust-abi.h index 1c11f371..fd7180a1 100644 --- a/include/lttng/ust-abi.h +++ b/include/lttng/ust-abi.h @@ -85,6 +85,7 @@ struct lttng_ust_stream { */ } LTTNG_PACKED; +#define LTTNG_UST_COUNTER_DIMENSION_MAX 4 enum lttng_ust_counter_arithmetic { LTTNG_UST_COUNTER_ARITHMETIC_MODULAR = 0, @@ -104,13 +105,15 @@ struct lttng_ust_counter_dimension { uint8_t has_overflow; } LTTNG_PACKED; -#define LTTNG_UST_COUNTER_DIMENSION_MAX 8 +#define LTTNG_UST_COUNTER_CONF_PADDING1 67 struct lttng_ust_counter_conf { uint32_t arithmetic; /* enum lttng_ust_counter_arithmetic */ uint32_t bitness; /* enum lttng_ust_counter_bitness */ uint32_t number_dimensions; int64_t global_sum_step; struct lttng_ust_counter_dimension dimensions[LTTNG_UST_COUNTER_DIMENSION_MAX]; + uint8_t coalesce_hits; + char padding[LTTNG_UST_COUNTER_CONF_PADDING1]; } LTTNG_PACKED; struct lttng_ust_counter_value {