Commit | Line | Data |
---|---|---|
1c196845 MJ |
1 | // SPDX-FileCopyrightText: 2014 Mathieu Desnoyers <mathieu.desnoyers@efficios.com> |
2 | // | |
3 | // SPDX-License-Identifier: LGPL-2.1-only | |
5e1b7b8b | 4 | |
c0c0989a MJ |
5 | #ifndef LTTNG_UST_GETCPU_H |
6 | #define LTTNG_UST_GETCPU_H | |
7 | ||
5e1b7b8b MD |
8 | #include <stdint.h> |
9 | #include <stddef.h> | |
10 | ||
11 | /* | |
12 | * Set getcpu override read callback. This callback should return the | |
13 | * current CPU number. | |
14 | */ | |
15 | int lttng_ust_getcpu_override(int (*getcpu)(void)); | |
16 | ||
17 | #endif /* LTTNG_UST_GETCPU_H */ |