configure: add '-Wundef' to warning flags
[lttng-tools.git] / src / bin / lttng-sessiond / kern-modules.h
1 /*
2 * Copyright (C) 2011 David Goulet <dgoulet@efficios.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0-only
5 *
6 */
7
8 #ifndef _KERN_MODULES_H
9 #define _KERN_MODULES_H
10
11 /*
12 * Compatible lttng-modules version.
13 */
14 #define KERN_MODULES_PRE_MAJOR 1
15 #define KERN_MODULES_PRE_MINOR 9
16
17 #define KERN_MODULES_MAJOR 2
18 #define KERN_MODULES_MINOR 0
19
20 enum kernel_module_property_load_policy {
21 KERNEL_MODULE_PROPERTY_LOAD_POLICY_REQUIRED = 0,
22 KERNEL_MODULE_PROPERTY_LOAD_POLICY_OPTIONAL = 1,
23 };
24
25 struct kern_modules_param {
26 char *name;
27 enum kernel_module_property_load_policy load_policy;
28 bool loaded;
29 };
30
31 #endif /* _KERN_MODULES_H */
This page took 0.030297 seconds and 4 git commands to generate.