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

Florian Forster octo at verplant.org
Wed Nov 14 11:47:09 CET 2007


 bindings/Makefile.am |    6 
 configure.in         |   43 +++++
 src/perl.c           |  385 +++++++++++++++++++++++++++++++++++----------------
 3 files changed, 316 insertions(+), 118 deletions(-)

New commits:
commit 3875fdeed389b260ea6c36aaeb89979c23a543e9
Author: Sebastian Harl <sh at tokkee.org>
Date:   Wed Nov 14 00:00:05 2007 +0100

    bindings/Makefile.am: perl/Makefile depends on config.status.
    
    Any configuration changes should be forwarded to the perl bindings. This patch
    will cause perl/Makefile to be recreated after a rerun of the configure
    script.
    
    Signed-off-by: Sebastian Harl <sh at tokkee.org>

commit c4bc5aa6fe93b7113f649869d9bf3e9fd7b12ff2
Author: Sebastian Harl <sh at tokkee.org>
Date:   Tue Nov 13 23:59:25 2007 +0100

    perl plugin: Added basic multi-threading support.
    
    This patch maps each C thread, which accesses the perl plugin, to an
    interpreter based Perl thread. The implementation has been inspired by Perl's
    ithreads introduced in version 5.6.0 and should be compatible (as in: can be
    used side-by-side) with it. You can use threads::shared to share data
    structures between threads of either implementation.
    
    Signed-off-by: Sebastian Harl <sh at tokkee.org>

commit 8897ce7778f1567e147aaa4bba3645abc47bba27
Author: Sebastian Harl <sh at tokkee.org>
Date:   Tue Nov 13 23:58:54 2007 +0100

    perl plugin: Use PERL_NO_GET_CONTEXT.
    
    All Perl_* API functions have been replaced with their unprefixed
    counterparts. The currently used Perl interpreter is passed along to each
    function requiring access to it. This removes the need to access the global
    variable keeping the pointer to the Perl interpreter in most cases but the
    entry points into the plugin (i.e. the callbacks registered with collectd).
    
    This prepares the plugin to efficiently support multiple interpreters.
    
    Signed-off-by: Sebastian Harl <sh at tokkee.org>

commit 28785769ea6ba70f935df534f06a2cb358f03947
Author: Sebastian Harl <sh at tokkee.org>
Date:   Tue Nov 13 23:58:20 2007 +0100

    configure, perl plugin: Check for ithreads support.
    
    Disable the perl plugin if Perl does not support ithreads (introduced in Perl
    5.6). The configure script will check, if USE_ITHREADS has been defined. Also,
    the perl plugin won't build if it has not been defined.
    
    Signed-off-by: Sebastian Harl <sh at tokkee.org>




More information about the collectd-changes mailing list