Fix: context alignment not properly handled
[lttng-modules.git] / lttng-context-perf-counters.c
index 2c67ecf3eebc3978e965571bacf10d26f76a7c8f..0c74234c281711e44f9782bd182577ac7c72e3d2 100644 (file)
@@ -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;
This page took 0.029036 seconds and 4 git commands to generate.