X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=lttng-context-pid.c;h=25cbcbb299d70f6cee9107c959c98aa4595f8f12;hb=refs%2Fheads%2Fstable-2.4;hp=36712591a1c08114f493de5a7a801efe3722877c;hpb=31c77635394eb16a84e467ced6cb35b23d491ece;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; }