Move to kernel style SPDX license identifiers
[lttng-ust.git] / include / lttng / ust-getcpu.h
... / ...
CommitLineData
1/*
2 * SPDX-License-Identifier: LGPL-2.1-only
3 *
4 * Copyright (C) 2014 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
5 */
6
7#ifndef LTTNG_UST_GETCPU_H
8#define LTTNG_UST_GETCPU_H
9
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 */
17int lttng_ust_getcpu_override(int (*getcpu)(void));
18
19#endif /* LTTNG_UST_GETCPU_H */
This page took 0.023071 seconds and 4 git commands to generate.