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