X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fust-field-utils.h;h=2f753033054b4ff19f0937dc72ff43a93b5a84d9;hb=0e7b45661dabc88c533f4f322615217410ce68db;hp=286111f0880adeec5b26a44cb94f77fba878850c;hpb=3fd9c5c21dc94a9182065664e19fc0d4dd5ead71;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/ust-field-utils.h b/src/bin/lttng-sessiond/ust-field-utils.h index 286111f08..2f7530330 100644 --- a/src/bin/lttng-sessiond/ust-field-utils.h +++ b/src/bin/lttng-sessiond/ust-field-utils.h @@ -17,4 +17,13 @@ int match_ustctl_field(const struct ustctl_field *first, const struct ustctl_field *second); +/* + * Compare two arrays of UST fields. + * Return true if both arrays have identical field definitions, false otherwise. + */ +bool match_lttng_ust_ctl_field_array(const struct ustctl_field *first, + size_t nr_first, + const struct ustctl_field *second, + size_t nr_second); + #endif /* LTTNG_UST_FIELD_UTILS_H */