Commit | Line | Data |
---|---|---|
a9c2df2b | 1 | /* |
9d16b343 | 2 | * Copyright (C) 2017 Francis Deslauriers <francis.deslauriers@efficios.com> |
a9c2df2b | 3 | * |
9d16b343 | 4 | * SPDX-License-Identifier: LGPL-2.1-or-later |
a9c2df2b | 5 | * |
a9c2df2b | 6 | */ |
9d16b343 | 7 | |
2f101846 JG |
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> | |
a9c2df2b | 15 | #include "foobar_provider.h" |
2f101846 | 16 | /* clang-format on */ |
28f23191 | 17 | |
28f23191 JG |
18 | void foo_function() |
19 | { | |
a9c2df2b FD |
20 | FOOBAR_TP_IN_SHARED_OBJECT(); |
21 | } | |
28f23191 JG |
22 | void overridable_function() |
23 | { | |
a9c2df2b | 24 | } |