X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttng-context-perf-counters.c;h=0c74234c281711e44f9782bd182577ac7c72e3d2;hb=ebfdc61210a82cb0d2015fad92359a97a75d49ce;hp=2c67ecf3eebc3978e965571bacf10d26f76a7c8f;hpb=5f79e67ecff15c0461df0cb3274b3b90cc39826d;p=lttng-modules.git diff --git a/lttng-context-perf-counters.c b/lttng-context-perf-counters.c index 2c67ecf3..0c74234c 100644 --- a/lttng-context-perf-counters.c +++ b/lttng-context-perf-counters.c @@ -253,6 +253,7 @@ int lttng_add_perf_counter_to_ctx(uint32_t type, field->record = perf_counter_record; field->u.perf_counter = perf_field; perf_field->hp_enable = 1; + lttng_context_update(*ctx); wrapper_vmalloc_sync_all(); return 0;