[collectd-changes] collectd, the system statistics collection daemon: Changes to 'master'

Florian Forster octo at verplant.org
Tue Jan 11 09:07:20 CET 2011


 src/plugin.c |   39 +++++++++++++++++++++++++++++----------
 src/plugin.h |    2 ++
 2 files changed, 31 insertions(+), 10 deletions(-)

New commits:
commit a06c1a5201303c3b0bd0c330d733916cbf20d568
Author: Florian Forster <octo at huhu.verplant.org>
Date:   Tue Jan 11 09:06:58 2011 +0100

    src/plugin.c: Free allocated data if plugin_insert_read() fails.

commit ac23a826b01e66fa43c51ce0678b80b5b96f5a59
Author: Florian Forster <octo at huhu.verplant.org>
Date:   Tue Jan 11 08:57:08 2011 +0100

    src/plugin.c: Move the error-checking code up.
    
    This way the error message is much closer to the check and we save one
    level of indentation for the "good" code.

commit 79a87c3315bb85a71a2e69e0abaaabbfa544d6a9
Author: Blaise Tarr <blaise.tarr at gmail.com>
Date:   Mon Jan 10 17:15:47 2011 -0500

    plugin.c: prevent re-adding read functions
    
    When multiple LoadPlugin options are used with a plugin, the plugin is
    only loaded once, however the plugin's read function is invoked
    multiple times at every interval. This in turn causes undesired
    redundant data to be sent to the write plugins.
    
    This patch prevents a plugin's read function from being re-added to
    the read_heap and read_list during plugin registration.
    
    Signed-off-by: Blaise Tarr <blaise.tarr at gmail.com>
    Signed-off-by: Florian Forster <octo at huhu.verplant.org>




More information about the collectd-changes mailing list