Clean-up: tests: bt2 plug-ins: modernize the plug-ins
[lttng-tools.git] / tests / utils / bt2_plugins / field_stats / field_stats.hpp
CommitLineData
9f263671
KS
1/**
2 * Copyright (C) 2023 Kienan Stewart <kstewart@efficios.com>
3 *
4 * SPDX-License-Identifier: LGPL-2.1-only
5 *
6 */
7
d73aeddd
JG
8#ifndef LTTNG_TEST_UTILS_BT2_PLUGIN_FIELD_STATS_HPP
9#define LTTNG_TEST_UTILS_BT2_PLUGIN_FIELD_STATS_HPP
9f263671
KS
10
11#include <babeltrace2/babeltrace.h>
12
13bt_component_class_initialize_method_status
14field_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
19void field_stats_finalize(bt_self_component_sink *self_component_sink);
20
21bt_component_class_sink_graph_is_configured_method_status
22field_stats_graph_is_configured(bt_self_component_sink *self_component_sink);
23
24bt_component_class_sink_consume_method_status
25field_stats_consume(bt_self_component_sink *self_component_sink);
26
d73aeddd 27#endif /* LTTNG_TEST_UTILS_BT2_PLUGIN_FIELD_STATS_HPP */
This page took 0.024106 seconds and 4 git commands to generate.