X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttng-context-prio.c;h=d300445546d443443f103a3f8607b96a3e6895ad;hb=cd4486798c2b046ea93b89439cd705e93c40b349;hp=9cd843d5437e45af1a2afe9fd924cff247dcc254;hpb=ceabb767180e064629b5a9ab4ed14449da864763;p=lttng-modules.git diff --git a/lttng-context-prio.c b/lttng-context-prio.c index 9cd843d5..d3004455 100644 --- a/lttng-context-prio.c +++ b/lttng-context-prio.c @@ -10,11 +10,11 @@ #include #include #include -#include -#include +#include +#include #include #include -#include +#include static int (*wrapper_task_prio_sym)(struct task_struct *t); @@ -89,7 +89,7 @@ int lttng_add_prio_to_ctx(struct lttng_ctx **ctx) field->record = prio_record; field->get_value = prio_get_value; lttng_context_update(*ctx); - wrapper_vmalloc_sync_all(); + wrapper_vmalloc_sync_mappings(); return 0; } EXPORT_SYMBOL_GPL(lttng_add_prio_to_ctx);