X-Git-Url: http://git.liburcu.org/?p=lttng-modules.git;a=blobdiff_plain;f=lttng-context-perf-counters.c;h=be26e4955fef58b533a16ff335669b205ea2d28f;hp=1c5ab9fbc99e67b6a455aad9c1cf19693b3eadde;hb=263b6c88138c3354d63dba3c70a965de94becd22;hpb=a65765406b03e4f3b7a4303e1c9ed83c86cdd358 diff --git a/lttng-context-perf-counters.c b/lttng-context-perf-counters.c index 1c5ab9fb..be26e495 100644 --- a/lttng-context-perf-counters.c +++ b/lttng-context-perf-counters.c @@ -321,7 +321,7 @@ int lttng_add_perf_counter_to_ctx(uint32_t type, field->u.perf_counter = perf_field; lttng_context_update(*ctx); - wrapper_vmalloc_sync_all(); + wrapper_vmalloc_sync_mappings(); return 0; #if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,10,0))