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