Commit | Line | Data |
---|---|---|
d2a010d1 MJ |
1 | /* |
2 | * SPDX-License-Identifier: LGPL-2.1-only | |
3 | * | |
4 | * Copyright (C) 2021 Michael Jeanson <mjeanson@efficios.com> | |
5 | */ | |
6 | ||
7 | #include <stdio.h> | |
8 | #include <lttng/ust-fork.h> | |
9 | ||
10 | #include "./libone.h" | |
11 | ||
12 | /* | |
13 | * Dummy function to ensure we are properly linked on liblttng-ust.so.1. | |
14 | */ | |
15 | void libone_dummy(void) | |
16 | { | |
17 | lttng_ust_after_setns(); | |
18 | } | |
19 | ||
20 | void libone(void) | |
21 | { | |
22 | printf("libone: this is libone()\n"); | |
23 | } |