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