Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP3:GA
collectd
dpdk_telemetry-plugin-move-read-loop-reg-to-mod...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dpdk_telemetry-plugin-move-read-loop-reg-to-module-register.patch of Package collectd
From: Reshma Pattan <reshma.pattan@intel.com> Subject: dpdk_telemetry plugin: move read loop reg to module register References: jsc#SLE-23472 Patch-Mainline: collectd-5.11.0 Git-commit: aef41f27cc44cba606b7efb87168b32576df3a47 Git-repo: git://github.com/collectd/collectd.git.git Move read loop callback registration to module_register(). Signed-off-by: Reshma Pattan <reshma.pattan@intel.com> Signed-off-by: <trenn@suse.com> diff --git a/src/dpdk_telemetry.c b/src/dpdk_telemetry.c index 512a7d73..f356ed32 100755 --- a/src/dpdk_telemetry.c +++ b/src/dpdk_telemetry.c @@ -388,13 +388,12 @@ static int dpdk_telemetry_init(void) { if (dpdk_telemetry_socket_init() < 0) ERROR(PLUGIN_NAME ": Socket initialization failed."); - plugin_register_complex_read(NULL, PLUGIN_NAME, dpdk_telemetry_read, 0, NULL); - return 0; } void module_register(void) { plugin_register_init(PLUGIN_NAME, dpdk_telemetry_init); plugin_register_complex_config(PLUGIN_NAME, dpdk_telemetry_config); + plugin_register_complex_read(NULL, PLUGIN_NAME, dpdk_telemetry_read, 0, NULL); plugin_register_shutdown(PLUGIN_NAME, dpdk_telemetry_shutdown); }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor