lib: pass log level to bt_query_executor_query()
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Sat, 15 Jun 2019 04:42:10 +0000 (00:42 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 20 Jun 2019 18:51:58 +0000 (14:51 -0400)
commit83da519a8ccd49e126d6bcd9392ee7067acb078b
tree87c397fbc5e87dac59ea93501d94ca7aecc755a9
parentc864e29ae560403106a694438ed75a1e4f20bb33
lib: pass log level to bt_query_executor_query()

This new parameter indicates the log level to use during the query
execution.

The project's component classes are changed to receive this log level,
but they do not use it. This work is reserved for a future patch.

The CLI passes its default log level (main `--log-level` option) to
bt_query_executor_query().

Python bindings are adapted accordingly.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Change-Id: I929d545a1df2f4d6d083f6c536f6fcf26aa972bd
Reviewed-on: https://review.lttng.org/c/babeltrace/+/1461
Tested-by: jenkins <jenkins@lttng.org>
Reviewed-by: Francis Deslauriers <francis.deslauriers@efficios.com>
18 files changed:
include/babeltrace2/graph/component-class-filter.h
include/babeltrace2/graph/component-class-sink.h
include/babeltrace2/graph/component-class-source.h
include/babeltrace2/graph/query-executor.h
src/bindings/python/bt2/bt2/component.py
src/bindings/python/bt2/bt2/native_bt_component_class.i
src/bindings/python/bt2/bt2/native_bt_query_exec.i
src/bindings/python/bt2/bt2/query_executor.py
src/cli/babeltrace2.c
src/lib/graph/query-executor.c
src/plugins/ctf/fs-src/fs.c
src/plugins/ctf/fs-src/fs.h
src/plugins/ctf/lttng-live/lttng-live.c
src/plugins/ctf/lttng-live/lttng-live.h
tests/bindings/python/bt2/test_component_class.py
tests/bindings/python/bt2/test_query_executor.py
tests/lib/test-plugin-plugins/sfs.c
tests/lib/test_plugin.c
This page took 0.026667 seconds and 4 git commands to generate.