sessiond: express field references as locations instead of names
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 26 Jul 2022 19:17:20 +0000 (15:17 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 26 Jul 2022 19:31:08 +0000 (15:31 -0400)
commitd59532b42278616836cc0ad3f668fde8ca96124f
tree70727e636f60a17b8d7318004d3f25c424c33f9e
parent12eb5cfe157a761c09c99ae612863ba5d26db31b
sessiond: express field references as locations instead of names

CTF2 requires type references (a sequence's length, a variant's
selector) to be expressed as absolute field locations.

The `field` API currently expresses these references as names directly
since those are provided by the tracer.

This change introduces the notion of a field location and adapts
the tsdl visitor to serialize those as expected.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I56f603062d6748051adf3fa31bc08422c47c144d
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-app.cpp
src/bin/lttng-sessiond/ust-field-convert.cpp
src/bin/lttng-sessiond/ust-field-convert.hpp
src/bin/lttng-sessiond/ust-registry-channel.cpp
This page took 0.027057 seconds and 5 git commands to generate.