| 1 | /* |
| 2 | * Copyright (C) 2018 Francis Deslauriers francis.deslauriers@efficios.com> |
| 3 | * |
| 4 | * SPDX-License-Identifier: GPL-2.0-only |
| 5 | * |
| 6 | */ |
| 7 | |
| 8 | #ifndef LTTNG_UST_FIELD_UTILS_H |
| 9 | #define LTTNG_UST_FIELD_UTILS_H |
| 10 | |
| 11 | #include "lttng-ust-ctl.h" |
| 12 | |
| 13 | /* |
| 14 | * Compare two UST fields. |
| 15 | * Return 1 if both fields have identical definition, 0 otherwise. |
| 16 | */ |
| 17 | int match_lttng_ust_ctl_field(const struct lttng_ust_ctl_field *first, |
| 18 | const struct lttng_ust_ctl_field *second); |
| 19 | |
| 20 | #endif /* LTTNG_UST_FIELD_UTILS_H */ |