fix: block: remove the request_queue argument to the block_bio_remap tracepoint ...
[lttng-modules.git] / 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 <linux/version.h>
12
13 #if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,10,0))
14 #include <linux/objtool.h>
15 #elif (LINUX_VERSION_CODE >= KERNEL_VERSION(4,6,0))
16 #include <linux/frame.h>
17 #endif
18
19
20 #if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,6,0))
21
22 #define LTTNG_STACK_FRAME_NON_STANDARD(func) \
23 STACK_FRAME_NON_STANDARD(func)
24
25 #else
26
27 #define LTTNG_STACK_FRAME_NON_STANDARD(func)
28
29 #endif
30
31 #endif /* _LTTNG_WRAPPER_OBJTOOL_H */
This page took 0.044689 seconds and 4 git commands to generate.