include: implement REUSE with SPDX identifiers
[lttng-ust.git] / include / lttng / ust-getcpu.h
CommitLineData
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 */
15int lttng_ust_getcpu_override(int (*getcpu)(void));
16
17#endif /* LTTNG_UST_GETCPU_H */
This page took 0.030682 seconds and 4 git commands to generate.