Cleanup: Move lttng-modules instrumentation headers
[lttng-modules.git] / lttng-context-vpid.c
index 31a2c15e48dee190e08ca1120205521d01b5c89b..28178b9ead50bc3cb3b8b100bb675269cadafbe7 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 <lttng-tracer.h>
+#include <lttng/tracer.h>
 
 static
 size_t vpid_get_size(size_t offset)
@@ -83,7 +83,7 @@ int lttng_add_vpid_to_ctx(struct lttng_ctx **ctx)
        field->record = vpid_record;
        field->get_value = vpid_get_value;
        lttng_context_update(*ctx);
-       wrapper_vmalloc_sync_all();
+       wrapper_vmalloc_sync_mappings();
        return 0;
 }
 EXPORT_SYMBOL_GPL(lttng_add_vpid_to_ctx);
This page took 0.023661 seconds and 4 git commands to generate.