Update README.md for supported kernel
[lttng-modules.git] / lttng-context-pid.c
index 3cdc51284588994a164c38bbdc72b7dfe5d4ed6d..3e88eb82bbdd6a5d5bb240dd4fe55081d98f8602 100644 (file)
@@ -11,8 +11,7 @@
 #include <linux/slab.h>
 #include <linux/sched.h>
 #include <lttng-events.h>
-#include <wrapper/ringbuffer/frontend_types.h>
-#include <wrapper/vmalloc.h>
+#include <include/ringbuffer/frontend_types.h>
 #include <lttng-tracer.h>
 
 static
@@ -68,7 +67,6 @@ int lttng_add_pid_to_ctx(struct lttng_ctx **ctx)
        field->record = pid_record;
        field->get_value = pid_get_value;
        lttng_context_update(*ctx);
-       wrapper_vmalloc_sync_all();
        return 0;
 }
 EXPORT_SYMBOL_GPL(lttng_add_pid_to_ctx);
This page took 0.025263 seconds and 4 git commands to generate.