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>
Fri, 29 Jul 2022 15:30:54 +0000 (11:30 -0400)
commit9efff7e744f4b4b3fbe37de5fece3b59fdeb4b00
treecf8bbecf11b48bf440be2e5d57ef45c9a39adeb9
parent833eb34299bd3c6614c4ce755ecb871dcfb769b5
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.026949 seconds and 5 git commands to generate.