]> git.ipfire.org Git - thirdparty/collectd.git/commit
perl plugin: More cleanups.
authorFlorian Forster <octo@google.com>
Fri, 17 Jul 2020 10:43:49 +0000 (12:43 +0200)
committerFlorian Forster <octo@google.com>
Wed, 29 Jul 2020 11:40:03 +0000 (13:40 +0200)
commita0393395b3c2edbc4412a851bc5f98eeb35c09e6
tree9c8129cc9f194609c67901d7685d9f5071076862
parente328a64941eac8c85c08ad56ef828297b4b227fc
perl plugin: More cleanups.

*   Struct "metric_t": unnecessary fields "type", "plugin", "ds" have
    been removed. The field "value_ds_type" has been renamed to
    "value_type".
*   The reference counted, multiple instance "meta_data_list_head_t" type
    has been removed. Manually doing the reference counting all over the
    place is error prone and it seems like premature optimization.
*   The "<type>_destroy" functions must handle NULL gracefully. Removed
    NULL-checks around their invocation to improve readability.

# Conflicts:
# src/daemon/metrics_list_test.c
src/perl.c