X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttng-context-ipc-ns.c;h=a11292252002fec03d4d102979b028c991f8607e;hb=2df37e95fa4303ecc0db41334452665491533641;hp=cccd976602b7ec97118d50d959eae28731aa878d;hpb=ceabb767180e064629b5a9ab4ed14449da864763;p=lttng-modules.git diff --git a/lttng-context-ipc-ns.c b/lttng-context-ipc-ns.c index cccd9766..a1129225 100644 --- a/lttng-context-ipc-ns.c +++ b/lttng-context-ipc-ns.c @@ -13,11 +13,11 @@ #include #include #include -#include -#include +#include +#include #include #include -#include +#include #if defined(CONFIG_IPC_NS) && \ (LINUX_VERSION_CODE >= KERNEL_VERSION(3,8,0)) @@ -96,7 +96,7 @@ int lttng_add_ipc_ns_to_ctx(struct lttng_ctx **ctx) field->record = ipc_ns_record; field->get_value = ipc_ns_get_value; lttng_context_update(*ctx); - wrapper_vmalloc_sync_all(); + wrapper_vmalloc_sync_mappings(); return 0; } EXPORT_SYMBOL_GPL(lttng_add_ipc_ns_to_ctx);