X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;ds=sidebyside;f=probes%2Flttng-events.h;h=38c61cd85dfb8ffd2057c756f8d9597be7658ac2;hb=a509e13364a2d024a2ae2acbeee3ac4ac2634842;hp=6631fbcd1ce82d21dc1ca1de667f01be6488c455;hpb=19c57fbfa70c032b744088b6273c43e7c8876c38;p=lttng-modules.git diff --git a/probes/lttng-events.h b/probes/lttng-events.h index 6631fbcd..38c61cd8 100644 --- a/probes/lttng-events.h +++ b/probes/lttng-events.h @@ -1,7 +1,8 @@ #include #include #include -#include +#include /* for 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; + vmalloc_sync_all(); ret = TP_ID(__lttng_types_init__, TRACE_SYSTEM)(); if (ret) return ret;