X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=lttng-context-need-reschedule.c;h=275b00d0b42d2f194f9a9bad71b67fa6a7608203;hb=b53047135828b997a4eeb2cae7344cb169aa9c8c;hp=9a51f0c60714df4a47f05dd1b56be406f6c17a06;hpb=ceabb767180e064629b5a9ab4ed14449da864763;p=lttng-modules.git diff --git a/lttng-context-need-reschedule.c b/lttng-context-need-reschedule.c index 9a51f0c6..275b00d0 100644 --- a/lttng-context-need-reschedule.c +++ b/lttng-context-need-reschedule.c @@ -11,10 +11,9 @@ #include #include #include -#include -#include -#include -#include +#include +#include +#include static size_t need_reschedule_get_size(size_t offset) @@ -68,7 +67,6 @@ 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(); return 0; } EXPORT_SYMBOL_GPL(lttng_add_need_reschedule_to_ctx);