X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=lttng-context-need-reschedule.c;h=94efaa5c8b1c03c7bd63902133132c1b4c3aa53b;hb=da0fcb1497ff2437407883647a8a0bba12bd0f91;hp=f29fb28da7abf635ba3349c7b7dd29e27e348edd;hpb=e3273c971bfe4cbc8b852b2fe07c8af0a2b3bbd8;p=lttng-modules.git diff --git a/lttng-context-need-reschedule.c b/lttng-context-need-reschedule.c index f29fb28d..94efaa5c 100644 --- a/lttng-context-need-reschedule.c +++ b/lttng-context-need-reschedule.c @@ -68,7 +68,7 @@ int lttng_add_need_reschedule_to_ctx(struct lttng_ctx **ctx) field->record = need_reschedule_record; field->get_value = need_reschedule_get_value; lttng_context_update(*ctx); - wrapper_vmalloc_sync_all(); + wrapper_vmalloc_sync_mappings(); return 0; } EXPORT_SYMBOL_GPL(lttng_add_need_reschedule_to_ctx);