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 "callsites.h" | |
11 | #include "probes.h" | |
12 | ||
13 | #include <pthread.h> | |
14 | #include <stdint.h> | |
15 | #include <stdio.h> | |
16 | #include <time.h> | |
17 | ||
18 | #ifndef VALUE | |
19 | #define VALUE (-1) | |
20 | #endif | |
21 | ||
22 | void call_tracepoint(void) | |
23 | { | |
24 | tracepoint(multi, tp, VALUE); | |
25 | } |