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

Florian Forster octo at verplant.org
Mon Mar 24 11:36:51 CET 2008


 src/Makefile.am           |    1 
 src/collectd-unixsock.pod |    5 
 src/unixsock.c            |  346 +---------------------------------------------
 src/utils_cache.c         |   78 ++++++++++
 src/utils_cache.h         |    2 
 src/utils_cmd_listval.c   |   64 ++++++++
 src/utils_cmd_listval.h   |   29 +++
 7 files changed, 191 insertions(+), 334 deletions(-)

New commits:
commit 747aeabf17865bee5569415d486ac9e0164b602b
Author: Florian Forster <octo at huhu.verplant.org>
Date:   Mon Mar 24 11:36:46 2008 +0100

    collectd-unixsock(5): Be more specific which time `LISTVAL' returns.
    
    The timestamp of the last value and the time at which the last value was
    received may differ..

commit 78e83f7d68d154e8d6cdb876162abc90993aed79
Author: Florian Forster <octo at huhu.verplant.org>
Date:   Mon Mar 24 11:33:32 2008 +0100

    unixsock plugin: Use `src/utils_cmd_listval.[ch]' and remove the local cache.
    
    Since no command uses the cache in the unixsock plugin anymore, it can be
    removed. The implementation in `src/utils_cache.[ch]' is now used for all
    commands, and all commands are in separate modules. This should be a
    performance gain, since the implementation of unixsock used a linked list,
    which is much slower than the AVL tree used in the global cache.
    
    Also this resolves a nasty bug: The unixsock plugin used to use the _local_
    interval setting when removing values from the cache. The global cache uses the
    interval setting of the values themselves, to that mixing different intervals
    in a big setup is now compatible with the `listval' and other commands.

commit bf46dad7cb3402921a2fb96b5194783ab12b3dc6
Author: Florian Forster <octo at huhu.verplant.org>
Date:   Mon Mar 24 11:29:46 2008 +0100

    src/utils_cmd_listval.[ch]: Added a new module which implements the `LISTVAL' command.
    
    It's done using the global cache implemented in `src/utils_cache.[ch]'.

commit 4aefb22f96c9bf9f63a9fb8dd6e7f6c33bc2a0d5
Author: Florian Forster <octo at huhu.verplant.org>
Date:   Mon Mar 24 11:28:19 2008 +0100

    src/utils_cache.[ch]: Improved the `uc_get_names' to return the times, too.

commit b89f678602794b26437db8d789c0180d7003f55b
Author: Florian Forster <octo at huhu.verplant.org>
Date:   Mon Mar 24 10:42:03 2008 +0100

    src/utils_cache.[ch]: Add `uc_get_names', a function to return all keys in the cache.




More information about the collectd-changes mailing list