X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=lttng-context-need-reschedule.c;h=94efaa5c8b1c03c7bd63902133132c1b4c3aa53b;hb=ea53823c42a70a80566a340834e2b00e650406b9;hp=f29fb28da7abf635ba3349c7b7dd29e27e348edd;hpb=d551a26d9a6bf87e80708ad8a35f49111442bf11;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);