X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Flttng-events.c;h=a144f544c52540170ea0e9478c263780d05b856d;hb=c3eddb2e2effc01eee7bc778c21431bf45a8ffdc;hp=d819c9e20dac0e28719b61aeb6373da868cc5efc;hpb=484ec2179e14ae9272a7ad3d1820c837136fd144;p=lttng-modules.git diff --git a/src/lttng-events.c b/src/lttng-events.c index d819c9e2..a144f544 100644 --- a/src/lttng-events.c +++ b/src/lttng-events.c @@ -2768,6 +2768,8 @@ void lttng_event_notifier_group_sync_enablers(struct lttng_event_notifier_group list_for_each_entry(runtime, &event_notifier->capture_bytecode_runtime_head, node) lttng_bytecode_capture_sync_state(runtime); + + WRITE_ONCE(event_notifier->eval_capture, !!event_notifier->num_captures); } }