.name = (char *) "lttng-ring-buffer-metadata-mmap-client",
.load_policy = KERNEL_MODULE_PROPERTY_LOAD_POLICY_REQUIRED,
},
+ {
+ .name = (char *) "lttng-ring-buffer-event_notifier-client",
+ .load_policy = KERNEL_MODULE_PROPERTY_LOAD_POLICY_OPTIONAL,
+ },
};
/* LTTng kerneltracer probe modules list */
{
char *next;
int ret;
- char *tmp_list, *cur_list;
+ char *tmp_list, *cur_list, *saveptr;
assert(list);
size_t name_len;
struct kern_modules_param *cur_mod;
- next = strtok(cur_list, ",");
+ next = strtok_r(cur_list, ",", &saveptr);
if (!next) {
break;
}