X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fkern-modules.h;h=d91436256cb6903c4efa5b702dc6db161ece17e5;hp=b2ae0e86709d1f32f3482d0763aff382671110f0;hb=ce0b1d61919f37517a6212f7af2afe0fa1b1dcb0;hpb=ab5be9fa2eb5ba9600a82cd18fd3cfcbac69169a diff --git a/src/bin/lttng-sessiond/kern-modules.h b/src/bin/lttng-sessiond/kern-modules.h index b2ae0e867..d91436256 100644 --- a/src/bin/lttng-sessiond/kern-modules.h +++ b/src/bin/lttng-sessiond/kern-modules.h @@ -17,8 +17,14 @@ #define KERN_MODULES_MAJOR 2 #define KERN_MODULES_MINOR 0 +enum kernel_module_property_load_policy { + KERNEL_MODULE_PROPERTY_LOAD_POLICY_REQUIRED = 0, + KERNEL_MODULE_PROPERTY_LOAD_POLICY_OPTIONAL = 1, +}; + struct kern_modules_param { char *name; + enum kernel_module_property_load_policy load_policy; bool loaded; };