X-Git-Url: https://git.lttng.org/?p=lttng-modules.git;a=blobdiff_plain;f=lttng-context-ppid.c;h=a22c9d83ccd2671133db528ea8b02b64ef242620;hp=9cb3133996eada56a49ef2b24b088ad063f4ee02;hb=refs%2Fheads%2Fstable-2.4;hpb=31c77635394eb16a84e467ced6cb35b23d491ece diff --git a/lttng-context-ppid.c b/lttng-context-ppid.c index 9cb31339..a22c9d83 100644 --- a/lttng-context-ppid.c +++ b/lttng-context-ppid.c @@ -83,6 +83,7 @@ int lttng_add_ppid_to_ctx(struct lttng_ctx **ctx) field->event_field.type.u.basic.integer.encoding = lttng_encode_none; field->get_size = ppid_get_size; field->record = ppid_record; + lttng_context_update(*ctx); wrapper_vmalloc_sync_all(); return 0; }