Cleanup: Move instrumentation/ headers to include/instrumentation/
[lttng-modules.git] / wrapper / frame.h
CommitLineData
b7cdc182 1/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only)
9f36eaed 2 *
63155590
MD
3 * wrapper/frame.h
4 *
5 * Copyright (C) 2016 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
63155590
MD
6 */
7
9f36eaed
MJ
8#ifndef _LTTNG_WRAPPER_FRAME_H
9#define _LTTNG_WRAPPER_FRAME_H
10
63155590
MD
11#include <linux/version.h>
12
13#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,6,0))
14
15#include <linux/frame.h>
16
17#define LTTNG_STACK_FRAME_NON_STANDARD(func) \
18 STACK_FRAME_NON_STANDARD(func)
19
20#else
21
22#define LTTNG_STACK_FRAME_NON_STANDARD(func)
23
24#endif
25
26#endif /* _LTTNG_WRAPPER_FRAME_H */
This page took 0.02893 seconds and 4 git commands to generate.