sink.text.pretty: print option fields
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Mon, 12 Aug 2019 22:15:04 +0000 (18:15 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Thu, 15 Aug 2019 15:41:44 +0000 (11:41 -0400)
commit51e61f06e6242de402f2c96a067f09d0418df120
tree23fb2bd6a9b21da17371b3e9f7d156206f62755e
parentf29ef814cf919c95715d4383d89c54876d5ecb08
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.025614 seconds and 4 git commands to generate.