sessiond: add variant selector intervals
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 26 Jul 2022 21:06:30 +0000 (17:06 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 8 Dec 2022 14:05:33 +0000 (09:05 -0500)
commit45110cdd99bd9ecc13a12d29afde3fffa48b4641
tree5251af7e4703d0a26e66aba7d20a55a81c789baa
parent6e01cdc6c6e9cd18d99e8898fa3df41911388e8e
sessiond: add variant selector intervals

In CTF 2, variant options are chosen using a set of ranges. This differs
from CTF 1.8 (and the current API) which assumed that a variant had
options that perfectly matched the selector enumeration's mappings.

Add integer mappings to variants and also carry a choice name that
becomes the name used by the TSDL producer.

Change-Id: Ib31cf9cc211dad36759bd73dc722c49d634c666b
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/field.cpp
src/bin/lttng-sessiond/field.hpp
src/bin/lttng-sessiond/tsdl-trace-class-visitor.cpp
src/bin/lttng-sessiond/ust-field-convert.cpp
src/bin/lttng-sessiond/ust-registry-channel.cpp
This page took 0.024801 seconds and 4 git commands to generate.