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 <linux/version.h>
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>
20 #if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,6,0))
22 #define LTTNG_STACK_FRAME_NON_STANDARD(func) \
23 STACK_FRAME_NON_STANDARD(func)
27 #define LTTNG_STACK_FRAME_NON_STANDARD(func)
31 #endif /* _LTTNG_WRAPPER_OBJTOOL_H */
This page took 0.044689 seconds and 4 git commands to generate.