trigger: lttng_triggers: implement a container for multiple triggers
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Tue, 21 Jan 2020 19:22:37 +0000 (14:22 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 17 Nov 2020 20:24:05 +0000 (15:24 -0500)
This container is exposed for the listing of triggers.

We also plan on using it internally in the sessiond for inter-thread
communication.

The current implementation is backed by a lttng_dynamic_pointer_array.

Caller of lttng_triggers_add is responsible for managing ownership via
ref-counting of the lttng_trigger object.

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: Ib541027a6d7d856daa746de5aa49f0002bbe036f


No differences found
This page took 0.026081 seconds and 4 git commands to generate.