doc: fix passing non-event messages in distill examples
authorSimon Marchi <simon.marchi@efficios.com>
Thu, 22 Jun 2023 13:42:17 +0000 (09:42 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Thu, 2 Nov 2023 04:32:31 +0000 (00:32 -0400)
commit8bf30fb24050dcad2be6d13c32aff2c17bae6139
tree5af2a38671d3f9f4cd9fb9953a5c551a62e0a428
parentecd7492f21a492b70569d5ecc1d3a808241b63f0
doc: fix passing non-event messages in distill examples

The distill filter example means to let non-event messages go through,
but it actually drops them.  Fix it so it actually lets them through.

Verified by sending the output of the filter to `sink.text.details`.
Before the patch, there is no stream beginning message.  After the
patch, there is.

Change-Id: I2414a37ca7fc5fa6e5ed0fe179ee39cadf261f31
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/10444
Tested-by: jenkins <jenkins@lttng.org>
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
doc/api/libbabeltrace2/examples/distill.c
This page took 0.023949 seconds and 4 git commands to generate.