X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=probes%2Flttng-types.c;h=a4b40cf720b604466b03794dbc5c93f0ddc90dbe;hb=a509e13364a2d024a2ae2acbeee3ac4ac2634842;hp=c88d4735d968d482faa63e420feba1f4229662b1;hpb=f3bc08c50e1b302bceea699027d889fd6d9af525;p=lttng-modules.git diff --git a/probes/lttng-types.c b/probes/lttng-types.c index c88d4735..a4b40cf7 100644 --- a/probes/lttng-types.c +++ b/probes/lttng-types.c @@ -11,6 +11,7 @@ #include #include /* tid_t */ #include +#include /* 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, <tng_types_fops); if (IS_ERR(lttng_types_dentry) || !lttng_types_dentry) {