Text output plugin argument parsing
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 31 Oct 2016 15:57:45 +0000 (11:57 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Sat, 27 May 2017 18:09:06 +0000 (14:09 -0400)
commit6e1bc0df89a0af874e3c1f2617e576cbf5e73cf7
treec1da66a47b836f0fd08582e7d5dcd11008c4fa69
parent6a18b281a2bf9df3ac2a3ff08601998c52e40bcd
Text output plugin argument parsing

Implement plugin argument handling, and legacy behavior.

The sink plugin uses "name-default=show", "name-default=hide",
"field-default=show", and "field-default-hide" to specify the default
behavior for names and fields. It is used to implement the compability
layer with Babeltrace 1.x (all/none), but is a more flexible approach,
because it then allows both use-cases:

- default=show: can then set individual items to "false" (blacklist),
- default=hide: can then set individual items to "true" (whitelist).

In comparison, the old legacy options only allowed to specify a
whitelist.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
converter/babeltrace-cfg.c
include/babeltrace/compiler.h
plugins/text/print.c
plugins/text/text.c
plugins/text/text.h
This page took 0.024753 seconds and 4 git commands to generate.