X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttng-context-pid.c;h=25cbcbb299d70f6cee9107c959c98aa4595f8f12;hb=ebfdc61210a82cb0d2015fad92359a97a75d49ce;hp=36712591a1c08114f493de5a7a801efe3722877c;hpb=5f79e67ecff15c0461df0cb3274b3b90cc39826d;p=lttng-modules.git diff --git a/lttng-context-pid.c b/lttng-context-pid.c index 36712591..25cbcbb2 100644 --- a/lttng-context-pid.c +++ b/lttng-context-pid.c @@ -71,6 +71,7 @@ int lttng_add_pid_to_ctx(struct lttng_ctx **ctx) field->event_field.type.u.basic.integer.encoding = lttng_encode_none; field->get_size = pid_get_size; field->record = pid_record; + lttng_context_update(*ctx); wrapper_vmalloc_sync_all(); return 0; }