Remove dependency on vmalloc_sync_all symbol
[deliverable/lttng-modules.git] / probes / lttng-types.c
index c88d4735d968d482faa63e420feba1f4229662b1..7f9d20e5fd64cad8c04f2206c688996a32c1daa4 100644 (file)
@@ -11,6 +11,7 @@
 #include <linux/seq_file.h>
 #include <linux/jbd.h> /* tid_t */
 #include <linux/debugfs.h>
+#include "../wrapper/symbols.h"        /* for wrapper_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;
 
+       wrapper_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.028951 seconds and 5 git commands to generate.