Commit | Line | Data |
---|---|---|
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 | ||
9 | #include "./libzero.h" | |
10 | #include "./fake-ust.h" | |
11 | ||
12 | /* | |
13 | * Dummy function to ensure we are properly linked on libfakeust0. | |
14 | */ | |
15 | int libzero_dummy(void) | |
16 | { | |
17 | struct lttng_probe_desc probe_desc; | |
18 | ||
19 | return ltt_probe_register(&probe_desc); | |
20 | } | |
21 | ||
22 | void libzero(void) | |
23 | { | |
24 | printf("libzero: this is libzero()\n"); | |
25 | } |