cpp-common/bt2: add basic PluginSet and bt_plugin_find_all_from_dir wrappers
authorSimon Marchi <simon.marchi@efficios.com>
Mon, 15 Jan 2024 21:19:24 +0000 (16:19 -0500)
committerSimon Marchi <simon.marchi@efficios.com>
Mon, 29 Jan 2024 16:38:19 +0000 (11:38 -0500)
commit785712e1da59033cf135c23cffc49c6821ca3fcc
tree0a0126757db8e6f4a732a3ddc98be57a08f4ff3b
parentc14b365efc4af352602144743c5f9dd3552dd546
cpp-common/bt2: add basic PluginSet and bt_plugin_find_all_from_dir wrappers

Add a `bt2::PluginSet` class, wrapping `bt_plugin_set`.  It only
contains what I need for a test coming in a subsequent patch.

Add a `bt2::findAllPluginsFromDir` function, wrapping
`bt_plugin_find_all_from_dir`.

Change-Id: Ieca897dec5c08381deb473e701f7e41aee84e89c
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/11680
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
src/Makefile.am
src/cpp-common/bt2/plugin.hpp [new file with mode: 0644]
This page took 0.024725 seconds and 4 git commands to generate.