X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=tests%2Fregression%2Fabi0-conflict%2Ffake-ust.h;fp=tests%2Fregression%2Fabi0-conflict%2Ffake-ust.h;h=f784806d488a35e08984a75762381fc8ff153603;hb=d2a010d1e67e246e8ab4a847b8bbbdbce2b4e2d7;hp=0000000000000000000000000000000000000000;hpb=6f78600e9600f413ebdf532e154d8946725d83fd;p=lttng-ust.git diff --git a/tests/regression/abi0-conflict/fake-ust.h b/tests/regression/abi0-conflict/fake-ust.h new file mode 100644 index 00000000..f784806d --- /dev/null +++ b/tests/regression/abi0-conflict/fake-ust.h @@ -0,0 +1,18 @@ +/* + * SPDX-License-Identifier: LGPL-2.1-only + * + * Copyright (C) 2021 Michael Jeanson + */ + +#define LTTNG_UST_PROBE_DESC_PADDING 12 +struct lttng_probe_desc { + char padding[LTTNG_UST_PROBE_DESC_PADDING]; +}; + +void init_usterr(void); + +/* + * The symbol used by liblttng-ust.so.1 to detect liblttng-ust.so.0 in a + * process. + */ +int ltt_probe_register(struct lttng_probe_desc *desc);