| 1 | /** |
| 2 | * Copyright (C) 2023 Kienan Stewart <kstewart@efficios.com> |
| 3 | * |
| 4 | * SPDX-License-Identifier: LGPL-2.1-only |
| 5 | * |
| 6 | */ |
| 7 | |
| 8 | #ifndef LTTNG_TEST_UTILS_BT2_PLUGIN_FIELD_STATS_HPP |
| 9 | #define LTTNG_TEST_UTILS_BT2_PLUGIN_FIELD_STATS_HPP |
| 10 | |
| 11 | #include <babeltrace2/babeltrace.h> |
| 12 | |
| 13 | bt_component_class_initialize_method_status |
| 14 | field_stats_initialize(bt_self_component_sink *self_component_sink, |
| 15 | bt_self_component_sink_configuration *config, |
| 16 | const bt_value *params, |
| 17 | void *initialize_method_data); |
| 18 | |
| 19 | void field_stats_finalize(bt_self_component_sink *self_component_sink); |
| 20 | |
| 21 | bt_component_class_sink_graph_is_configured_method_status |
| 22 | field_stats_graph_is_configured(bt_self_component_sink *self_component_sink); |
| 23 | |
| 24 | bt_component_class_sink_consume_method_status |
| 25 | field_stats_consume(bt_self_component_sink *self_component_sink); |
| 26 | |
| 27 | #endif /* LTTNG_TEST_UTILS_BT2_PLUGIN_FIELD_STATS_HPP */ |