From: Mathieu Desnoyers Date: Wed, 1 Apr 2020 21:48:09 +0000 (-0400) Subject: ust registry: Refactor representation of nested types X-Git-Tag: v2.13.0-rc1~667 X-Git-Url: http://git.liburcu.org/?a=commitdiff_plain;h=0d32d1a95331da3baf00ad1eb7be907129c6a9db;hp=0d32d1a95331da3baf00ad1eb7be907129c6a9db;p=lttng-tools.git ust registry: Refactor representation of nested types Those allow LTTng-UST to internally represent nested types properly, and to serialize them when sending them over to the session daemon. However, for now, the session daemon only accepts arrays and sequences which contain an integer type, which is the only use-case emitted by lttng-ust. Wait until we have the nested types wired up within lttng-ust before accepting and supporting nested types so it can be tested. Given the size of this change to ust-metadata.c, use this opportunity to make sure that every if (ret) ... in this file is changed to conform to lttng-tools coding style: if (ret) { ... } Signed-off-by: Mathieu Desnoyers Signed-off-by: Jérémie Galarneau Change-Id: I3ac44fc3a993f73d1fb08056331ad6fed7059981 Depends-on: lttng-ust: I45bb0886c5ac970c3ca75dbefcb94adb50801294 ---