lib: keep plugin name, if any, in component class structure
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Wed, 19 Jun 2019 21:08:09 +0000 (17:08 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 18 Jul 2019 15:53:34 +0000 (11:53 -0400)
commit0c99efa4f4b8d49bb5be641f5c9d4150981c4b27
tree2bd929957257bc293a973835a334b3aedd4501a8
parent6cef4a7dd155711e79ade76b18bf8b12a0c22197
lib: keep plugin name, if any, in component class structure

This is to make the plugin name available when having a component class
object in an upcoming error reporting API.

We don't keep the `bt_plugin` object itself because it's a component
class's owner, and a component class can outlive its containing plugin:
only the shared object data is kept alive in that case.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Change-Id: I9cfbac32d88a6e7edac238b5a63b232695613b8c
Reviewed-on: https://review.lttng.org/c/babeltrace/+/1523
Tested-by: jenkins <jenkins@lttng.org>
Reviewed-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-by: Francis Deslauriers <francis.deslauriers@efficios.com>
src/lib/graph/component-class.c
src/lib/graph/component-class.h
src/lib/plugin/plugin.h
This page took 0.02575 seconds and 4 git commands to generate.