sink.text.pretty: print option fields
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Mon, 12 Aug 2019 22:15:04 +0000 (18:15 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 4 Sep 2019 15:58:21 +0000 (11:58 -0400)
commit4a9cfc409c7c5185d8fa033c3ceaff52f433ee18
treed095419af6735508448730884e1e960228ce0836
parent978237e99d511e68c5f3eb0ce9514dc8619de38b
sink.text.pretty: print option fields

The component prints `<none>` when there's no current optional field,
and does the same as a variant field otherwise (printing the optional
field's value between `{` and `}`).

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Change-Id: I7a42ca31d68562fa0994945b32dbb2935aa92ee4
Reviewed-on: https://review.lttng.org/c/babeltrace/+/1899
Tested-by: jenkins <jenkins@lttng.org>
Reviewed-by: Francis Deslauriers <francis.deslauriers@efficios.com>
src/plugins/text/pretty/print.c
This page took 0.025683 seconds and 4 git commands to generate.