Cleanup: Move patches.i to include/generated/
[lttng-modules.git] / lttng-context-prio.c
index 9cd843d5437e45af1a2afe9fd924cff247dcc254..d300445546d443443f103a3f8607b96a3e6895ad 100644 (file)
 #include <linux/module.h>
 #include <linux/slab.h>
 #include <linux/sched.h>
-#include <lttng-events.h>
-#include <wrapper/ringbuffer/frontend_types.h>
+#include <lttng/events.h>
+#include <ringbuffer/frontend_types.h>
 #include <wrapper/vmalloc.h>
 #include <wrapper/kallsyms.h>
-#include <lttng-tracer.h>
+#include <lttng/tracer.h>
 
 static
 int (*wrapper_task_prio_sym)(struct task_struct *t);
@@ -89,7 +89,7 @@ int lttng_add_prio_to_ctx(struct lttng_ctx **ctx)
        field->record = prio_record;
        field->get_value = prio_get_value;
        lttng_context_update(*ctx);
-       wrapper_vmalloc_sync_all();
+       wrapper_vmalloc_sync_mappings();
        return 0;
 }
 EXPORT_SYMBOL_GPL(lttng_add_prio_to_ctx);
This page took 0.026575 seconds and 4 git commands to generate.