X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=lttng-context-net-ns.c;h=37de09f7bd3c010a53c990b2bacd8beffee375cd;hb=a508ac4f9312be5ae04dee7d1836c3d2f93f0476;hp=6694037fbfbf81da6a58ddf48d6e2a7c1b55a5ce;hpb=7b1edb4cd748bfaac6a321946878ad7aaf7016d8;p=lttng-modules.git diff --git a/lttng-context-net-ns.c b/lttng-context-net-ns.c index 6694037f..37de09f7 100644 --- a/lttng-context-net-ns.c +++ b/lttng-context-net-ns.c @@ -97,7 +97,7 @@ int lttng_add_net_ns_to_ctx(struct lttng_ctx **ctx) field->record = net_ns_record; field->get_value = net_ns_get_value; lttng_context_update(*ctx); - wrapper_vmalloc_sync_all(); + wrapper_vmalloc_sync_mappings(); return 0; } EXPORT_SYMBOL_GPL(lttng_add_net_ns_to_ctx);