1 /* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only)
5 * Copyright (C) 2016 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
8 #ifndef _LTTNG_WRAPPER_OBJTOOL_H
9 #define _LTTNG_WRAPPER_OBJTOOL_H
11 #include <lttng-kernel-version.h>
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>
21 #if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(4,6,0))
23 #define LTTNG_STACK_FRAME_NON_STANDARD(func) \
24 STACK_FRAME_NON_STANDARD(func)
28 #define LTTNG_STACK_FRAME_NON_STANDARD(func)
32 #endif /* _LTTNG_WRAPPER_OBJTOOL_H */
This page took 0.03096 seconds and 4 git commands to generate.