Commit | Line | Data |
---|---|---|
9d16b343 MJ |
1 | /* |
2 | * Copyright (C) 2016 Antoine Busque <abusque@efficios.com> | |
3 | * | |
4 | * SPDX-License-Identifier: GPL-2.0-only | |
5 | * | |
6 | */ | |
7 | ||
c70c42cc | 8 | #include "libfoo.h" |
d8ed06af | 9 | #include "libbar.h" |
c70c42cc | 10 | |
818df80b JG |
11 | #define TRACEPOINT_DEFINE |
12 | #define TRACEPOINT_PROBE_DYNAMIC_LINKAGE | |
13 | #include "libfoo-tp.h" | |
14 | ||
d8ed06af | 15 | int foo(void) |
c70c42cc | 16 | { |
818df80b | 17 | tracepoint(libfoo, foo); |
d8ed06af | 18 | bar(); |
c70c42cc AB |
19 | return 1; |
20 | } |