Fix: sink.text.pretty: support unknown event class name
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Thu, 4 Jul 2019 07:04:20 +0000 (03:04 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 18 Jul 2019 15:53:34 +0000 (11:53 -0400)
commitb4d7c117eb74d4ef6706a22aa0458ae471f2614d
treef3e744af8a7adc4e41e18fbfca041ec4f9ca84b2
parent75f066b0677910c99bfeeb3f7e8c7de2abeee525
Fix: sink.text.pretty: support unknown event class name

An event class's name property is optional. Add support in
`sink.text.pretty` for a nonexistent event class name. The component
prints `<unknown>`, the same way it prints this for an enumeration field
value without a corresponding mapping.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Change-Id: I26740a254956534d0a47b3760456314466afc4d7
Reviewed-on: https://review.lttng.org/c/babeltrace/+/1623
Tested-by: jenkins <jenkins@lttng.org>
src/plugins/text/pretty/print.c
This page took 0.026015 seconds and 4 git commands to generate.