X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=liblttng-ust%2Flttng-context-perf-counters.c;h=83b371c5ba91431f47f44ce6880a4087d2e0244c;hb=b2cc986adb1aa11116ace6129dc2ec7e5c9737b1;hp=99691c067f23a421ceee6f5f07f883b68b543e03;hpb=631dc14c99a187453b9c46aca090fcf3b7ed8ec9;p=lttng-ust.git diff --git a/liblttng-ust/lttng-context-perf-counters.c b/liblttng-ust/lttng-context-perf-counters.c index 99691c06..83b371c5 100644 --- a/liblttng-ust/lttng-context-perf-counters.c +++ b/liblttng-ust/lttng-context-perf-counters.c @@ -402,6 +402,7 @@ int lttng_add_perf_counter_to_ctx(uint32_t type, * the field here. */ + lttng_context_update(*ctx); return 0; setup_error: