2 * Copyright (C) 2011 David Goulet <dgoulet@efficios.com>
4 * SPDX-License-Identifier: GPL-2.0-only
8 #ifndef _KERN_MODULES_H
9 #define _KERN_MODULES_H
12 * Compatible lttng-modules version.
14 #define KERN_MODULES_PRE_MAJOR 1
15 #define KERN_MODULES_PRE_MINOR 9
17 #define KERN_MODULES_MAJOR 2
18 #define KERN_MODULES_MINOR 0
20 enum kernel_module_property_load_policy {
21 KERNEL_MODULE_PROPERTY_LOAD_POLICY_REQUIRED = 0,
22 KERNEL_MODULE_PROPERTY_LOAD_POLICY_OPTIONAL = 1,
25 struct kern_modules_param {
27 enum kernel_module_property_load_policy load_policy;
31 #endif /* _KERN_MODULES_H */