Commit | Line | Data |
---|---|---|
9f36eaed MJ |
1 | /* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) |
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 */ |