| 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 overridable_function() |
| 19 | { |
| 20 | FOOBAR_TP_IN_LDPRELOAD(); |
| 21 | } |