Cleanup: Move patches.i to include/generated/
[lttng-modules.git] / lttng-context-preemptible.c
index 6a40f03a266bf44d66fa474c8ef84db26ec9a515..6130a1a26d4acf4313b76c356ad0cda12c7754ac 100644 (file)
 #include <linux/slab.h>
 #include <linux/sched.h>
 #include <linux/irqflags.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 <lttng-tracer.h>
+#include <lttng/tracer.h>
 
 /*
  * We nest twice in preempt disabling within LTTng: one nesting is done
@@ -86,7 +86,7 @@ int lttng_add_preemptible_to_ctx(struct lttng_ctx **ctx)
        field->record = preemptible_record;
        field->get_value = preemptible_get_value;
        lttng_context_update(*ctx);
-       wrapper_vmalloc_sync_all();
+       wrapper_vmalloc_sync_mappings();
        return 0;
 }
 EXPORT_SYMBOL_GPL(lttng_add_preemptible_to_ctx);
This page took 0.025165 seconds and 4 git commands to generate.