[collectd-changes] collectd, the system statistics collection daemon: Changes to 'master'
Florian Forster
octo at verplant.org
Sat May 25 09:51:32 CEST 2013
src/plugin.c | 67 +++++++++++++++++++++++++++++++++++++++++++++++++++++-----
1 file changed, 62 insertions(+), 5 deletions(-)
New commits:
commit a20170e17bb930f4004156c7d6f634a57a7b57bb
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!
Github: #333
More information about the collectd-changes
mailing list