Remove dependency on vmalloc_sync_all symbol
[lttng-modules.git] / probes / lttng-events.h
index b6109f2f55de4eacb3ee86a7892f03612752d404..f697eadc1897d025a16e60b232b317a0f5bc778b 100644 (file)
@@ -1,6 +1,7 @@
 #include <lttng.h>
 #include <lttng-types.h>
 #include <linux/debugfs.h>
+#include "../wrapper/symbols.h"        /* for wrapper_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;
 
+       wrapper_vmalloc_sync_all();
        ret = TP_ID(__lttng_types_init__, TRACE_SYSTEM)();
        if (ret)
                return ret;
This page took 0.023335 seconds and 4 git commands to generate.