X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=lttng-context-pid.c;h=25cbcbb299d70f6cee9107c959c98aa4595f8f12;hb=9b9aff07ba39fba25ba8600fc60fa82fc392a0be;hp=36712591a1c08114f493de5a7a801efe3722877c;hpb=c7db4dfcb1a44a881746f07cf4e3fd3fa67c3085;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; }