[collectd-changes] collectd, the system statistics collection daemon: Changes to 'master'
octo at verplant.org
Sat May 25 09:51:32 CEST 2013
src/plugin.c | 67 +++++++++++++++++++++++++++++++++++++++++++++++++++++-----
1 file changed, 62 insertions(+), 5 deletions(-)
Author: Florian Forster <octo at collectd.org>
Date: Sat May 25 09:46:36 2013 +0200
src/plugin.c: Make plugin_load() idempotent, i.e. don't load plugins twice.
Previously, multiple 'LoadPlugin "foo"' lines would dlopen the same .so file
twice and call its module_register function twice. This would eventually result
in complaints about callbacks with the same name being registered. With this
patch each plugin is only loaded only once, allowing people to write "self
contained" configuration segments.
Thanks to Tim Bunce for suggesting this!
More information about the collectd-changes