X-Git-Url: http://git.liburcu.org/?p=lttng-modules.git;a=blobdiff_plain;f=lttng-ring-buffer-client.h;h=ecdc4adf60ede2e9138f8deac4679d0398d3c05b;hp=f11c606b4eb07a5e24da081df8dda718278419d0;hb=263b6c88138c3354d63dba3c70a965de94becd22;hpb=a65765406b03e4f3b7a4303e1c9ed83c86cdd358 diff --git a/lttng-ring-buffer-client.h b/lttng-ring-buffer-client.h index f11c606b..ecdc4adf 100644 --- a/lttng-ring-buffer-client.h +++ b/lttng-ring-buffer-client.h @@ -10,7 +10,7 @@ #include #include #include -#include /* for wrapper_vmalloc_sync_all() */ +#include /* for wrapper_vmalloc_sync_mappings() */ #include #include #include @@ -766,7 +766,7 @@ static int __init lttng_ring_buffer_client_init(void) * This vmalloc sync all also takes care of the lib ring buffer * vmalloc'd module pages when it is built as a module into LTTng. */ - wrapper_vmalloc_sync_all(); + wrapper_vmalloc_sync_mappings(); lttng_transport_register(<tng_relay_transport); return 0; }