X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=lttng-context-perf-counters.c;h=6b04d12342f061c0a0b9187ec536524d98095a14;hb=73ca2ce7fe5591ea4cedfef7675962c129929fcf;hp=43c4077bb7a766f46543d6e8090261497d47b1a0;hpb=9f36eaed6f91d5897924b551b44d1edd8cee00e2;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))