X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=liblttng-ust%2Flttng-context-perf-counters.c;h=83b371c5ba91431f47f44ce6880a4087d2e0244c;hb=e9e3e5727412b9dd68205930b0724f73d2e65437;hp=99691c067f23a421ceee6f5f07f883b68b543e03;hpb=6c2125aff1c8d8217072931ee6223be80112dcb2;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: