Add explicit vmalloc_sync_all
[lttng-modules.git] / probes / lttng-events.h
index 6631fbcd1ce82d21dc1ca1de667f01be6488c455..38c61cd85dfb8ffd2057c756f8d9597be7658ac2 100644 (file)
@@ -1,7 +1,8 @@
 #include <lttng.h>
 #include <lttng-types.h>
 #include <linux/debugfs.h>
-#include <linux/ringbuffer/frontend_types.h>
+#include <linux/vmalloc.h>     /* for vmalloc_sync_all() */
+#include "../wrapper/ringbuffer/frontend_types.h"
 #include "../ltt-events.h"
 #include "../ltt-tracer-core.h"
 
@@ -572,6 +573,7 @@ static int TP_ID(__lttng_events_init__, TRACE_SYSTEM)(void)
        int ret;
        int i;
 
+       vmalloc_sync_all();
        ret = TP_ID(__lttng_types_init__, TRACE_SYSTEM)();
        if (ret)
                return ret;
This page took 0.023479 seconds and 4 git commands to generate.