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