Commit | Line | Data |
---|---|---|
1 | /* | |
2 | * Copyright (C) - 2018 Francis Deslauriers <francis.deslauriers@efficios.com> | |
3 | * | |
4 | * SPDX-License-Identifier: LGPL-2.1-only | |
5 | * | |
6 | */ | |
7 | ||
8 | #define TRACEPOINT_DEFINE | |
9 | #define TRACEPOINT_PROBE_DYNAMIC_LINKAGE | |
10 | #include "probes.h" | |
11 | ||
12 | #include <stdint.h> | |
13 | #include <stdio.h> | |
14 | #include <time.h> | |
15 | #include <pthread.h> | |
16 | ||
17 | #ifndef VALUE | |
18 | #define VALUE (-1) | |
19 | #endif | |
20 | ||
21 | void call_tracepoint(void) { | |
22 | tracepoint(multi, tp, VALUE); | |
23 | } | |
24 |