X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=include%2Flttng%2Fust-utils.h;h=cbd1f66adeef8cc530afbc8217942ef9a8c1352d;hb=8a8c2117fb26a42b19975b8745d4333c7aa1a061;hp=13d2a7ae1a3049d6815b707320977604678ea2be;hpb=b4c54822d66aaf7bc10fe27cb8bfd8622b370d6b;p=lttng-ust.git diff --git a/include/lttng/ust-utils.h b/include/lttng/ust-utils.h index 13d2a7ae..cbd1f66a 100644 --- a/include/lttng/ust-utils.h +++ b/include/lttng/ust-utils.h @@ -59,15 +59,15 @@ #endif /** - * lttng_ust_ctf_array_element_type_is_supported - + * lttng_ust_field_array_element_type_is_supported - * - * Adds a compilation assertion that CTF arrays and sequences declared by the + * Adds a compilation assertion that array and sequence fields declared by the * user are of an integral type. */ -#define lttng_ust_ctf_array_element_type_is_supported(type, item) \ +#define lttng_ust_field_array_element_type_is_supported(type, item) \ lttng_ust_static_assert(lttng_ust_is_integer_type(type), \ - "Non-integer type `" #item "` not supported as element of CTF_ARRAY or CTF_SEQUENCE", \ - Non_integer_type__##item##__not_supported_as_element_of_CTF_ARRAY_or_CTF_SEQUENCE) + "Non-integer type `" #item "` not supported as element of LTTNG_UST_FIELD_ARRAY or LTTNG_UST_FIELD_SEQUENCE", \ + Non_integer_type__##item##__not_supported_as_element_of_LTTNG_UST_FIELD_ARRAY_or_LTTNG_UST_FIELD_SEQUENCE) /** @@ -138,7 +138,7 @@ * @align_drift: object offset from an "alignment"-aligned address. * @alignment: natural object alignment. Must be non-zero, power of 2. * - * Returns the offset that must be substracted to align towards lower addresses. + * Returns the offset that must be subtracted to align towards lower addresses. */ #define lttng_ust_offset_align_floor(align_drift, alignment) \ ({ \