X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttng-context-perf-counters.c;h=6b04d12342f061c0a0b9187ec536524d98095a14;hb=ea53823c42a70a80566a340834e2b00e650406b9;hp=43c4077bb7a766f46543d6e8090261497d47b1a0;hpb=d551a26d9a6bf87e80708ad8a35f49111442bf11;p=lttng-modules.git diff --git a/lttng-context-perf-counters.c b/lttng-context-perf-counters.c index 43c4077b..6b04d123 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))