Re-introduce sync vs unsync enablers
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 6 Oct 2023 15:48:01 +0000 (11:48 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 12 Jul 2024 17:57:29 +0000 (13:57 -0400)
commit1e8023ed96ab3e7f268d82c7028f6b807f1c9175
treedd264a9316e2f5dec23941dc4fade2b2719da3c7
parent34b89182634851e2852c2d3ac7cbb24efb2ee101
Re-introduce sync vs unsync enablers

Eliminate iteration over unmodified enablers when synchronizing the
enablers vs event state.

The intent is to turn a O(m*n) algorithm (m = number of enablers, n =
number of event probes) into a O(n) when enabling many additional events
when tracing is active.

This change is done both for event enablers and for event notifier
enablers.

[ Re-introduce commit after integration of Trace Hit Counters. ]

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I6a6ce09b10a98f281e03fab3a69b851a44bd8657
src/common/events.h
src/lib/lttng-ust/lttng-events.c
This page took 0.024366 seconds and 4 git commands to generate.