docs: Add supported versions and fix-backport policy
[lttng-tools.git] / tests / utils / testapp / userspace-probe-sdt-binary / libfoo.c
1 /*
2 * Copyright (C) 2017 Francis Deslauriers <francis.deslauriers@efficios.com>
3 *
4 * SPDX-License-Identifier: LGPL-2.1-or-later
5 *
6 */
7
8 /*
9 * The order of inclusion is important here: including sdt.h _before_ the probe
10 * declarations ensures that semaphore-protected SDT probes (which we don't support) are not
11 * generated. See SYSTEMTAP(2) for more details.
12 */
13 /* clang-format off */
14 #include <sys/sdt.h>
15 #include "foobar_provider.h"
16 /* clang-format on */
17
18 void foo_function()
19 {
20 FOOBAR_TP_IN_SHARED_OBJECT();
21 }
22 void overridable_function()
23 {
24 }
This page took 0.030591 seconds and 5 git commands to generate.