Add explicit vmalloc_sync_all
[lttng-modules.git] / probes / lttng-types.c
index c88d4735d968d482faa63e420feba1f4229662b1..a4b40cf720b604466b03794dbc5c93f0ddc90dbe 100644 (file)
@@ -11,6 +11,7 @@
 #include <linux/seq_file.h>
 #include <linux/jbd.h> /* tid_t */
 #include <linux/debugfs.h>
+#include <linux/vmalloc.h>     /* for vmalloc_sync_all */
 #include "lttng-types.h"
 
 struct dentry *lttng_types_dentry;
@@ -185,6 +186,7 @@ static int lttng_types_init(void)
 {
        int ret = 0;
 
+       vmalloc_sync_all();
        lttng_types_dentry = debugfs_create_file("lttng-types", S_IWUSR,
                                        NULL, NULL, &lttng_types_fops);
        if (IS_ERR(lttng_types_dentry) || !lttng_types_dentry) {
This page took 0.024322 seconds and 4 git commands to generate.