Import CStringView from the Babeltrace tree
[lttng-tools.git] / tests / utils / testapp / userspace-probe-sdt-binary / libbar.c
... / ...
CommitLineData
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
18void bar_function()
19{
20 FOOBAR_TP_IN_DLOPEN();
21}
This page took 0.023484 seconds and 5 git commands to generate.