X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttng-ring-buffer-metadata-client.h;h=0f68b38538779c2abe404cb59eca9394fead5358;hb=4f47ccf08dfac3d5db7553eb8b40bdab19764727;hp=4c10297509d13fe11e49dff8e618c050b36f95c3;hpb=b7cdc18250880cc44edeef4a4b42c8ac7a135a6d;p=lttng-modules.git diff --git a/lttng-ring-buffer-metadata-client.h b/lttng-ring-buffer-metadata-client.h index 4c102975..0f68b385 100644 --- a/lttng-ring-buffer-metadata-client.h +++ b/lttng-ring-buffer-metadata-client.h @@ -9,9 +9,9 @@ #include #include -#include /* for wrapper_vmalloc_sync_all() */ -#include -#include +#include /* for wrapper_vmalloc_sync_mappings() */ +#include +#include static struct lttng_transport lttng_relay_transport; @@ -51,7 +51,7 @@ size_t record_header_size(const struct lib_ring_buffer_config *config, return 0; } -#include +#include static u64 client_ring_buffer_clock_read(struct channel *chan) { @@ -427,7 +427,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; }