};
enum lttng_ust_counter_bitness {
- LTTNG_UST_COUNTER_BITNESS_32BITS = 4,
- LTTNG_UST_COUNTER_BITNESS_64BITS = 8,
+ LTTNG_UST_COUNTER_BITNESS_32 = 4,
+ LTTNG_UST_COUNTER_BITNESS_64 = 8,
};
struct lttng_ust_counter_dimension {
}
switch (counter->attr->bitness) {
case USTCTL_COUNTER_BITNESS_32:
- counter_conf.bitness = LTTNG_UST_COUNTER_BITNESS_32BITS;
+ counter_conf.bitness = LTTNG_UST_COUNTER_BITNESS_32;
break;
case USTCTL_COUNTER_BITNESS_64:
- counter_conf.bitness = LTTNG_UST_COUNTER_BITNESS_64BITS;
+ counter_conf.bitness = LTTNG_UST_COUNTER_BITNESS_64;
break;
default:
return -EINVAL;
return -EINVAL;
switch (error_counter_conf->bitness) {
- case LTTNG_UST_COUNTER_BITNESS_64BITS:
+ case LTTNG_UST_COUNTER_BITNESS_64:
counter_transport_name = "counter-per-cpu-64-modular";
break;
- case LTTNG_UST_COUNTER_BITNESS_32BITS:
+ case LTTNG_UST_COUNTER_BITNESS_32:
counter_transport_name = "counter-per-cpu-32-modular";
break;
default: