Rename "tsc" to "timestamp"
[lttng-modules.git] / include / wrapper / objtool.h
1 /* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only)
2 *
3 * wrapper/objtool.h
4 *
5 * Copyright (C) 2016 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
6 */
7
8 #ifndef _LTTNG_WRAPPER_OBJTOOL_H
9 #define _LTTNG_WRAPPER_OBJTOOL_H
10
11 #include <lttng/kernel-version.h>
12
13 #if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,10,0) || \
14 LTTNG_RHEL_KERNEL_RANGE(4,18,0,372,0,0, 4,19,0,0,0,0))
15 #include <linux/objtool.h>
16 #elif (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(4,6,0))
17 #include <linux/frame.h>
18 #endif
19
20
21 #if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(4,6,0))
22
23 #define LTTNG_STACK_FRAME_NON_STANDARD(func) \
24 STACK_FRAME_NON_STANDARD(func)
25
26 #else
27
28 #define LTTNG_STACK_FRAME_NON_STANDARD(func)
29
30 #endif
31
32 #endif /* _LTTNG_WRAPPER_OBJTOOL_H */
This page took 0.037137 seconds and 5 git commands to generate.