#include <linux/file.h>
#include <linux/uaccess.h>
#include <linux/slab.h>
-#include <linux/ringbuffer/vfs.h>
+#include "wrapper/symbols.h" /* for wrapper_vmalloc_sync_all() */
+#include "wrapper/ringbuffer/vfs.h"
#include "ltt-debugfs-abi.h"
#include "ltt-events.h"
{
int ret = 0;
+ wrapper_vmalloc_sync_all();
lttng_dentry = debugfs_create_file("lttng", S_IWUSR, NULL, NULL,
<tng_fops);
if (IS_ERR(lttng_dentry) || !lttng_dentry) {