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

Florian Forster octo at verplant.org
Tue May 19 17:40:54 CEST 2015


 AUTHORS                      |    6 +
 README                       |   13 +
 configure.ac                 |   52 +-
 contrib/redhat/collectd.spec |   29 +-
 src/Makefile.am              |   13 +
 src/collectd.conf.in         |   26 +
 src/collectd.conf.pod        |   94 +++
 src/fhcount.c                |  139 ++++
 src/processes.c              |   38 +-
 src/turbostat.c              | 1611 ++++++++++++++++++++++++++++++++++++++++++
 src/types.db                 |    1 +
 src/zfs_arc.c                |    9 +-
 12 files changed, 2016 insertions(+), 15 deletions(-)

New commits:
commit 0c88d3b2d330c152be0bc6af8faecef0211a705e
Merge: 7bc2dfa 7b0f362
Author: Florian Forster <octo at collectd.org>
Date:   Tue May 19 17:40:36 2015 +0200

    Merge remote-tracking branch 'github/pr/1009'

commit 7b0f362e1766ff7f04fd5466680d3606140b6ddc
Author: Jiri Tyr <jiri.tyr at gmail.com>
Date:   Thu Apr 23 14:43:16 2015 +0100

    Adding fhcount plugin

commit 7bc2dfa9f152276c0f39b2fc96f0b4a401795fa5
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date:   Tue May 19 14:44:55 2015 +0200

    README: add mention to libcap

commit 8395c8dbb8f5a872c5cde8db4c47a34cdb5f7c2f
Merge: 1b6906d 363bd03
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date:   Tue May 19 13:34:10 2015 +0200

    Merge remote-tracking branch 'origin/pr/651'
    
    Conflicts:
    	contrib/redhat/collectd.spec

commit 1b6906d2288a984af21f43aabc3d71d3d1024b1b
Merge: 27894a1 36cb864
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date:   Tue May 19 12:02:28 2015 +0200

    Merge pull request #919 from baryonix/solaris-misc-fixes
    
    Fixes for zfs_arc and processes plugins on Solaris

commit 27894a14bcc5437d1e9131ea602c66c0e28fd9d1
Merge: 55ebefc f8cecf1
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date:   Tue May 19 12:01:18 2015 +0200

    Merge pull request #1023 from ciomaire/write_kafka_ldflags
    
    when --with-librdkafka arg is not a path searched by linker

commit 363bd0300297144a29b58cc813b23d9353525178
Author: Vincent Brillault <git at lerya.net>
Date:   Tue May 19 10:51:05 2015 +0200

    Turbostat: Use the 'count' gauge to count SMIs

commit f8cecf10d4f3466fe59949554ab368ae4dd0d225
Author: ciomaire <cmacaniomaire at gmail.com>
Date:   Fri May 8 07:48:54 2015 -0700

    when --with-librdkafka arg is not a path searched by linker

commit eff671de53617304a17957aad9d2c7cf13d7eaf7
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date:   Tue May 5 22:10:16 2015 +0200

    Turbostat: reorganise metric names
    
    The `plugin_instance` now always is the hardware element
    (cpuNN/coreNN/pkgNN) the data belongs to. Any optional identifier string
    is moved to the `type_instance`.
    
    Also remove the "_W" unit suffix as the "power" `type` implies we're
    dealing with Watts.
    
    The idea is to have the naming scheme in line with the way most other
    plugins usually organise data.

commit 90e94693154573cf324f352603d8638d4794940c
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date:   Fri May 1 22:09:25 2015 +0200

    RPM specfile: take turbostat plugin in account

commit 5fabca96e9bf4a8c5bf0e721b831b1bc00ba35d1
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date:   Fri May 1 20:45:58 2015 +0200

    Turbostat: downcase plugin name in log messages
    
    ... to be consistent with the other plugins.

commit dfe9bb8c5c2f2baaa9c2be9ceddf61248b5effb7
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date:   Fri May 1 20:40:59 2015 +0200

    Turbostat: confine AC_COMPILE_IFELSE() inside a AC_CACHE_CHECK block
    
    The previous way of doing worked as expected, but didn't print out
    anything in the summary, making it difficult to know why the plugin
    wasn't built on older systems.

commit c97711a94a5ea5a7235991c06028468fb66e01b3
Author: Vincent Brillault <git at lerya.net>
Date:   Wed Apr 22 21:45:05 2015 +0200

    Turbostat: test asm/msr-index.h compatibility
    
    Olds versions of asm/msr-index.h don't contain the required macros.
    Test at least if it contains MSR_CORE_C3_RESIDENCY

commit 70e1e4c4fc031a971d8801903f9d11c3b1dd9bbe
Author: Vincent Brillault <git at lerya.net>
Date:   Sat Apr 18 10:58:20 2015 +0200

    Turbostat: fix thread max number detection
    
    There is no "thread_id" and the value we compute is the direct number.
    It can only be '1' or '2' and do not start at 0 like other values.

commit 39755bc4eaaea9b453ed423253bc7c478fbd95e5
Author: Vincent Brillault <git at lerya.net>
Date:   Sat Apr 18 10:49:46 2015 +0200

    Turbostat: Initialize non existing threads cpu_id

commit 6c686b0dcc980107a900180dba2682281ee253c8
Author: Vincent Brillault <git at lerya.net>
Date:   Sat Apr 18 10:49:37 2015 +0200

    Turbostat: Remove useless initialization

commit 6b9773c7735fa3ff454b57a62f75a5b32b7ed4d5
Author: Vincent Brillault <git at lerya.net>
Date:   Fri Apr 17 17:18:06 2015 +0200

    Turbostat: build only if requirements are met

commit 45687863426b21f854711248258a13c345371843
Author: Vincent Brillault <git at lerya.net>
Date:   Fri Apr 17 17:17:07 2015 +0200

    Turbostat: add missing types in configure.ac

commit a3b73247f54fed7e020e01bdc6432f06f2954048
Author: Vincent Brillault <git at lerya.net>
Date:   Fri Apr 17 17:03:35 2015 +0200

    Turbostat: Only check capabilities if supported

commit 844b714e82006e02e99af29693a7bd09fdb49884
Author: Vincent Brillault <git at lerya.net>
Date:   Fri Apr 17 10:03:59 2015 +0200

    Turbostat: remove 'common' headers
    
    This headers are already included by the collectd headers

commit c3daed0c76d923f37b1c7c1d6cf5ef9939a53791
Author: Vincent Brillault <git at lerya.net>
Date:   Thu Apr 16 21:33:02 2015 +0200

    Turbostat: Fix a 64b to 32b truncation
    
    Found while compiling with clang and -Wshorten-64-to-32 enabled

commit 9b2419163f4a850bff9ddef9c9d50cb2b56e1fbf
Author: Vincent Brillault <git at lerya.net>
Date:   Thu Apr 16 21:23:47 2015 +0200

    Turbostat: cpu/core/package number are > 0
    
    Use unsigned integers to reprensent the cpu, core and package
    numbers. Do not set it to -1 at init time.

commit 807a30ef0384caef29524b2b1949031fc8ad94d6
Author: Vincent Brillault <git at lerya.net>
Date:   Thu Apr 16 20:59:08 2015 +0200

    Turbostat: Use uint32_t for 32b wrapping

commit c3f2d0e714514ce3fcfe0a210057d8b3a8aaf308
Author: Vincent Brillault <git at lerya.net>
Date:   Sat Feb 14 09:08:55 2015 +0100

    Turbostat: adapt src/Makefile.am as per 4de560d2c

commit f5809f75f6243584cb2f56a6d82f156cd4323768
Author: Vincent Brillault <git at lerya.net>
Date:   Fri Feb 13 21:04:27 2015 +0100

    Turbostat: extend the configuration options
    
    This commit adds a number of configuration options that overide
    which features are enabled by the automated mechanisms.
    These options should only be used to turn off unwanted features
    or add (temporarily) support for a new CPU

commit 0775c9e7b930e959d24852493a85dd36fbae2bf4
Author: Vincent Brillault <git at lerya.net>
Date:   Fri Feb 13 20:47:47 2015 +0100

    Turbostat: simplify RAPL config and collection
    
    There is no point configuring and collecting data which
    is not submitted.

commit 0e8f63d21a65555d971b0da9161a1a9a54fd1afa
Author: Vincent Brillault <git at lerya.net>
Date:   Thu Feb 12 21:33:40 2015 +0100

    Turbostat: relax dependency on invariant TSC
    
    Backport d7899447535929b3672442b7b42a09ae4e48fa91
    from Len Brown <len.brown at intel.com>
    
    Turbostat can be useful on systems that do not support invariant TSC,
    so allow it to run on those systgems.
    
    All arithmetic in turbostat using the TSC value is per-processsor,
    so it does not depend on the TSC values being in sync acrosss
    processors.
    
    Turbostat uses cdtime() for the measurement interval
    rather than using the TSC directly, so that key metric
    is also immune from variable TSC.
    
    Turbostat has a TSC sanity check gauge:
    TSC_MHz = TSC_delta/interval
    
    If this column is constant and is close to the processor
    base frequency, then the TSC is behaving properly.
    
    The other key turbostat columns are calculated this way:
    Avg_Mhz = APERF_delta/interval
    Bzy_MHz = TSC_delta/APERF_delta/MPERF_delta/interval
    c0 = MPERF_delta/TSC_delta
    
    This adaptation of the original commit has not been tested on any
    old CPU. This patch also re-introduce the boolean "do_smi" as such
    old CPUs don't have SMI.

commit 25e51eb1b7473e0e6a2dfd94a3f3dd96a59da517
Author: Vincent Brillault <git at lerya.net>
Date:   Thu Feb 12 21:06:24 2015 +0100

    Turbostat: Add support for Broadwell (rapl part)
    
    Partial backport of 4e8e863fed2e82278d29c6357de8251adb73acb9
    from Len Brown <len.brown at intel.com>
    
    Add comments on all models

commit b163652f857d2a0c24760b28688ca1d5c470f800
Author: Vincent Brillault <git at lerya.net>
Date:   Thu Feb 12 20:48:33 2015 +0100

    Turbostat: remove 'future' Silvermont models
    
    These models are not yet supported by upstream
    Partial revert of 12bac3a7207cf264f41b69441454dbbbbad25782

commit 1338ab9feef6eb7f54066704486e0c384f0428cb
Author: Vincent Brillault <git at lerya.net>
Date:   Wed Feb 11 22:06:45 2015 +0100

    Turbostat: Add (back) sanity check
    
    This new gauge contains TSC / interval_float.
    If TSC and interval_float are behaving correctly, this is supposed to be
    constant. Otherwise, other measurements can be wrong

commit 789f46de545957165164c09b0584dc0f9b8fe5c0
Author: Vincent Brillault <git at lerya.net>
Date:   Thu Feb 12 19:50:29 2015 +0100

    Turbostat: frequency add Averange, rename Buzy
    
    Partial backport of fc04cc67ea8f44124f048832a745a24bc2fa12fa
    from Len Brown <len.brown at intel.com>
    
    Add Avg_MHz column, which is the frequency that many
    users expect to see -- the total number of cycles executed
    over the measurement interval.
    
    People found the previous GHz to be confusing, since
    it was the speed only over the non-idle interval.
    That measurement has been re-named Bzy_MHz.

commit daebff6bb861acc0ed7390bcb101b6e9af85efff
Author: Vincent Brillault <git at lerya.net>
Date:   Wed Feb 11 23:19:53 2015 +0100

    Turbostat plugin: relax dependency on root
    
    Backporting commit 98481e79b60a50d699b79292ff1b7e56e7fa8425
    from Len Brown <len.brown at intel.com>
    
    For turbostat to run as non-root, it needs to permissions:
    
    1. read access to /dev/cpu/*/msr
            via standard user/group/world file permissions
    
    2. CAP_SYS_RAWIO
            eg.  # setcap cap_sys_rawio=ep $(which collectd)
    
    Yes, running as root still works.

commit bb1b94f90e492d25aebe88949075c629fc7fe03d
Author: Vincent Brillault <git at lerya.net>
Date:   Wed Feb 11 23:00:05 2015 +0100

    Turbostat: re-order init tests
    
    Calling 'stat' on /dev/cpu/0/msr does not need any specific permission
    and needs to be checked before probe_cpu.

commit aa6e321ec2779a8c3c6a655d3ecd25596f001af9
Author: Vincent Brillault <git at lerya.net>
Date:   Wed Feb 4 21:53:49 2015 +0100

    Turbostat: Set global variable to static

commit b2d0b4b865acfa4e370eb9dbae1735ef5eaadb74
Author: Vincent Brillault <git at lerya.net>
Date:   Wed Feb 4 21:47:50 2015 +0100

    Turbostat: Some reordering as per coding rules

commit 87c34206414b550e3c9f3dc2edadbf838d2a3cad
Author: Vincent Brillault <git at lerya.net>
Date:   Wed Feb 4 21:09:12 2015 +0100

    Turbostat: Use cdtime for time resolution

commit 528d1fd8b1f457ab8cf2cd203ec6db3430c6cae2
Author: Vincent Brillault <git at lerya.net>
Date:   Thu Sep 25 21:02:57 2014 +0200

    Turbostat: Do not use error code, use error messages

commit 2739bbfda28b25a18dc2674ef40348c3c0eaa2f1
Author: Vincent Brillault <git at lerya.net>
Date:   Thu Sep 25 20:50:50 2014 +0200

    Turbostat: init_counter cannot fail anymore
    
    Due to the new probing system, the counter initialization cannot
    fail anymore. Make init_counter and initialize_counters return void

commit c614e1d454a89e408125b776a725a82807c948af
Author: Vincent Brillault <git at lerya.net>
Date:   Tue Sep 23 22:58:02 2014 +0200

    Turbostat: value_list_t.plugin_instance limit is DATA_MAX_NAME_LEN

commit 4ca5cc1ae08bbd2ce25f44f2916ad8700ff57265
Author: Vincent Brillault <git at lerya.net>
Date:   Tue Sep 23 22:55:34 2014 +0200

    Turbostat: add <Plugin /> example

commit 88a6520145fef1c012f0e49923a88e2dffaf8e19
Author: Vincent Brillault <git at lerya.net>
Date:   Tue Sep 23 22:47:46 2014 +0200

    Turbostat: add configuration options in man page

commit 3228135fb721281f1134cb4e17c583c8cdfc1909
Author: Vincent Brillault <git at lerya.net>
Date:   Tue Sep 23 22:28:52 2014 +0200

    Turbostat: check return value of vsnprintf

commit 10692e3f990377ad4e0918977d3f9431b222d1bc
Author: Vincent Brillault <git at lerya.net>
Date:   Tue Sep 23 22:22:36 2014 +0200

    Turbostat: whitespace cleanup

commit 909031d0dce30bf52a220024569843304e98ca2e
Author: Vincent Brillault <git at lerya.net>
Date:   Tue Sep 23 22:20:05 2014 +0200

    Turbostat: enhance error/warning meesages

commit 70c0e25a63b35c6a2dc056932eba537cc2ae1b13
Author: Vincent Brillault <git at lerya.net>
Date:   Tue Sep 23 21:40:46 2014 +0200

    Turbostat: complex read register is now useless

commit 7e0660f32cf3ca1ad4170befbd1bd39d8cc8b6f2
Author: Vincent Brillault <git at lerya.net>
Date:   Tue Sep 23 21:38:34 2014 +0200

    Turbostat: remove superfluous function declaration

commit 039be94c415888730738b05e668a9ffa45ee61cc
Author: Vincent Brillault <git at lerya.net>
Date:   Sat Sep 20 19:45:36 2014 +0200

    Turbostat: fix topology detection

commit 259df7455bea78ebff3bab37fb27fb1bba79f87a
Author: Vincent Brillault <git at lerya.net>
Date:   Sat Sep 20 19:08:40 2014 +0200

    Turbostat: fix allocate_cpu_set

commit 50c2ffd12518d1040f3bd1fee343e63af9f89d3b
Author: Vincent Brillault <git at lerya.net>
Date:   Sat Sep 20 18:49:57 2014 +0200

    Turbostat: this code can fail in fact...

commit d555992d22706c732b0b4534cda0b31e24e1097a
Author: Vincent Brillault <git at lerya.net>
Date:   Sat Sep 20 18:34:52 2014 +0200

    Turbostat: last re-ordering of the module

commit 6f00bf172139b5561acf8a2622af85b44dea6af9
Author: Vincent Brillault <git at lerya.net>
Date:   Sat Sep 20 18:11:46 2014 +0200

    Turbostat: Refactor topology probing
    
    Only probe the topology once and store in locally

commit cd1f3f99b7b25b88245259e0a249765f1f20ecca
Author: Vincent Brillault <git at lerya.net>
Date:   Sat Sep 20 09:55:10 2014 +0200

    Turbostat: Fix minor compilation warnings

commit 78b1a7a6581c8f85a10a9292eec9237f00b0d851
Author: Vincent Brillault <git at lerya.net>
Date:   Sat Sep 20 09:30:47 2014 +0200

    Turbostat: Re-order code and add comments
    
    No algorithmic change in this commit

commit a4a5dc555fd80597695ca844c576bad6f2f61d03
Author: Vincent Brillault <git at lerya.net>
Date:   Fri Sep 19 22:59:45 2014 +0200

    Trubostat: Refactor delta functions
    
    - merge delta_cpu in for_all_cpus_delta
    - for_all_cpus_delta: don't resolve pointers that are not used
    - add comments

commit 0e9a7156b6c1e818676157e77c8a5750ccabbeaf
Author: Jean Delvare <jdelvare at suse.de>
Date:   Thu May 1 11:40:19 2014 +0200

    turbostat: Backport 'Drop temperature checks'
    
    The Intel 64 and IA-32 Architectures Software Developer's Manual says
    that TjMax is stored in bits 23:16 of MSR_TEMPERATURE TARGET (0x1a2).
    That's 8 bits, not 7, so it must be masked with 0xFF rather than 0x7F.
    
    The manual has no mention of which values should be considered valid,
    which kind of implies that they all are. Arbitrarily discarding values
    outside a specific range is wrong. The upper range check had to be
    fixed recently (commit 144b44b1) and the lower range check is just as
    wrong. See bug #75071:
    
    https://bugzilla.kernel.org/show_bug.cgi?id=75071
    
    There are many Xeon processor series with TjMax of 70, 71 or 80
    degrees Celsius, way below the arbitrary 85 degrees Celsius limit.
    There may be other (past or future) models with even lower limits.
    
    So drop this arbitrary check. The only value that would be clearly
    invalid is 0. Everything else should be accepted.
    
    After these changes, turbostat is aligned with what the coretemp
    driver does.
    
    Signed-off-by: Jean Delvare <jdelvare at suse.de>
    Cc: Len Brown <len.brown at intel.com>
    Acked-by: Guenter Roeck <linux at roeck-us.net>
    Reviewed-by: Josh Triplett <josh at joshtriplett.org>
    Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki at intel.com>
    [git at lerya.net: Ported to collectd turbostat plugin]
    Signed-off-by: Vincent Brillault <git at lerya.net>

commit 6fea6031587345a15b07023313803f16e711569f
Author: Vincent Brillault <git at lerya.net>
Date:   Sun Aug 24 10:37:34 2014 +0200

    Turbostat: SNB & later support MSR_PKG_C2_RESIDENCY

commit bbf4bc97dac321ad9347f2f343909fb8ecb2a447
Author: Vincent Brillault <git at lerya.net>
Date:   Sun Aug 24 01:39:37 2014 +0200

    Turbostat: add a missing fclose

commit aaf23c2e014518f36cf8a22a392b66a46e915a63
Author: Vincent Brillault <git at lerya.net>
Date:   Sat Aug 23 17:41:28 2014 +0200

    Turbostat: Adding some comments

commit e649c400fcf323e85b207eac57ed41acf9684a90
Author: Vincent Brillault <git at lerya.net>
Date:   Sat Aug 23 17:34:52 2014 +0200

    Turbostat: move set_temperature_target to setup_all_buffers
    
    setup_all_buffers can be called after a free_all_buffers, which would
    remove the tcc_activation_temp

commit 9614ef2432c6cd728c7a4511c80dc534ea6ec391
Author: Vincent Brillault <git at lerya.net>
Date:   Sat Aug 23 17:30:18 2014 +0200

    Turbostat: don't hide the actual size of the buffer in some define

commit d1539343f99ff03d1f00b1b5fff50cb149d895bf
Author: Vincent Brillault <git at lerya.net>
Date:   Sat Aug 23 17:16:07 2014 +0200

    Turbostat: introduce 'delta' data sets
    
    This patch replace the 'old = new - old' mecanism with a simpler
    'delta = new - old' one

commit 8a4a61985b6b7e5e507843805cf4b5e965d9f5ed
Author: Vincent Brillault <git at lerya.net>
Date:   Sat Aug 23 16:32:29 2014 +0200

    Turbostat: remove proc_stat global variable

commit e774e5ba04f8bdd4ea6cbc0308be3dc571752565
Author: Vincent Brillault <git at lerya.net>
Date:   Sat Aug 23 16:30:06 2014 +0200

    Turbostat: use _Bool for boolean values

commit 81c64b9cc000c2edebebcc74d19161d2ec77db6c
Author: Vincent Brillault <git at lerya.net>
Date:   Sat Aug 23 15:53:12 2014 +0200

    Turbostat: simplify aperf_mperf_unstable & skip_c[01]

commit 8892d5bf56624cc69c78e474d83d2bf498d8a6f2
Author: Vincent Brillault <git at lerya.net>
Date:   Sat Aug 23 15:35:59 2014 +0200

    Turbostat: Fix sched affinity mess
    
    get_msr doesn't need to be run on the CPU targetted. However, when run
    on another CPU, perfomances will decrease as task have to be scheduled
    on another CPU. Migrating to another CPU during the setup (where only a
    few get_msr are done) is probably not worth it. However, in the
    get_counters function, the large number of get_msr query makes it
    potentially important.
    
    This patch also introduce the restoration of the scheduling affinity as
    it was before the plugin invocation.

commit 43922127f300cb53bf26ad0a0515ba6721725368
Author: Vincent Brillault <git at lerya.net>
Date:   Sat Aug 23 11:22:38 2014 +0200

    Turbodtat: tcc_activation_temp is a package concept, so store it in packages

commit fef1cf1ec0eaa1af238b64cf43ec1e3fc3327f07
Author: Vincent Brillault <git at lerya.net>
Date:   Sat Aug 23 09:50:13 2014 +0200

    Turbostat: use ssnprintf instead of snprintf

commit aa5f0f3fdce6e92fd7f9654fda72e039852a1693
Author: Vincent Brillault <git at lerya.net>
Date:   Sat Aug 23 11:15:57 2014 +0200

    Turbostat: fix some WARNING/ERROR calls

commit f043a414dc71781c1f6c92e8a027582a5a335332
Author: Vincent Brillault <git at lerya.net>
Date:   Sat Aug 23 09:49:21 2014 +0200

    Turbostat: use sizeof for the buffer sier of s*printf

commit 6b24c5cee6255275acd4a62a20dc86a74dae2eed
Author: Vincent Brillault <git at lerya.net>
Date:   Sat Aug 23 09:46:31 2014 +0200

    Turbostat: better error handling for get/read_msr

commit 8ba5c8afdfab1098e1400669269eccb8ea0a44c4
Author: Vincent Brillault <git at lerya.net>
Date:   Sat Aug 23 09:32:04 2014 +0200

    Turbostat: Refactor migrate CPU before get_MSR
    
    In two out of three "get_msr" calls, there is a CPU migration, which
    does not seem to be used by something else (in one case, it was used by
    the rdtsc call).
    Move the migrate call directly into the open_msr function

commit 899a5b70ba79ceea8f7db3c63871ad0d8496daa8
Author: Vincent Brillault <git at lerya.net>
Date:   Sat Aug 23 09:28:07 2014 +0200

    Turbostat set_temperature_target: get msr from the correct cpu

commit 13bbf9b93d40e7fc6c00ce41d9e7abfc74858c9c
Author: Vincent Brillault <git at lerya.net>
Date:   Sat Aug 23 09:20:23 2014 +0200

    Turbostat: Only open msr once in get_counters

commit 5783aeab9f9b581b8b255e543f4543acc6d11746
Author: Vincent Brillault <git at lerya.net>
Date:   Sat Aug 23 08:56:28 2014 +0200

    Turbostat: use MSR_IA32_TSC instead of rdtsc

commit a4d9af68ac36998d90d6571103cc940eff26deb7
Author: Vincent Brillault <git at lerya.net>
Date:   Sat Aug 23 01:06:30 2014 +0200

    Turbostat: reorder checks: start with 'uid == 0 ?'

commit 733294e6d07326c46ae55ceb0180a05b7c1339c9
Author: Vincent Brillault <git at lerya.net>
Date:   Sat Aug 23 00:58:25 2014 +0200

    Turbostat: refactor cpu probing
    
    Reorganization and rewriting of the cpu-probing code:
    - Only support genuine_intel CPUs
    - Remove variables that are always expected to be true
    - Make supported pkg/core cstates more comprehensive
    - Simplify rafl code (remove unused warning feature: intervals too long)

commit 648fc798e2a7d06b85d8ae1d5bd2c6b85782e5d7
Author: Vincent Brillault <git at lerya.net>
Date:   Sat Aug 23 00:53:10 2014 +0200

    Turbostat: remove unused variable has_epb

commit a866ab31fe247c03f5b4cabc19d12cd74bdaf902
Author: Vincent Brillault <git at lerya.net>
Date:   Sat Aug 23 00:49:40 2014 +0200

    Turbostat: remove has_aperf
    
    We refuse to run if it's not true, so let's just assume it is

commit abbfb4e3663055cd15457a654b54b4a5738f1412
Author: Vincent Brillault <git at lerya.net>
Date:   Sat Aug 23 00:46:42 2014 +0200

    Turbostat: Remove has_invariant_tsc
    
    We refuse to run if it's not true, so let's just assume it is

commit 64d6b501e5411a93751ffb9be6154a90389dd9e0
Author: Vincent Brillault <git at lerya.net>
Date:   Sat Aug 23 00:42:49 2014 +0200

    Turbostat: remove 'units' variable, only used once

commit 85a58dc8373f6a92be9163b3d093d3d9c859f4d9
Author: Vincent Brillault <git at lerya.net>
Date:   Sat Aug 23 00:26:22 2014 +0200

    Turbostat: remove unused show_* variables

commit fa4ee54284bba1b55e40101334b8770d96649fb9
Author: Vincent Brillault <git at lerya.net>
Date:   Fri Aug 22 18:56:24 2014 +0200

    Turbostat: Explain why _GNU_SOURCE is required

commit 0e1fbb95d8774aba6d9078025383ae9e3feee9be
Author: Vincent Brillault <git at lerya.net>
Date:   Thu Aug 21 18:15:01 2014 +0200

    Turbostat: Don't manage 'Interval' manually, already done by collectd

commit a1f3e47ec460b5a77b46f15ddfda918ac1b50e80
Author: Vincent Brillault <git at lerya.net>
Date:   Thu Aug 21 18:11:24 2014 +0200

    Turbostat: specify parse_int_file format

commit f02b2733d7ae40b0c514a0c1979a86f28bbd45d4
Author: Vincent Brillault <git at lerya.net>
Date:   Thu Aug 21 18:09:26 2014 +0200

    Turbostat: replace sprintf with ssnprintf from common.h

commit 7623a947a3ef3902b41b6e08d213bd169d4f4505
Author: Vincent Brillault <git at lerya.net>
Date:   Thu Aug 21 18:06:56 2014 +0200

    Turbostat: expand __must_check macro and remove it

commit c636c670c5ea3a5c3e5697d2fe287eeb89f752b7
Author: Vincent Brillault <git at lerya.net>
Date:   Thu Aug 21 18:05:36 2014 +0200

    Turbostat: replace stdbool.h with C99 _Bool

commit b63efaaa45f332044cda735e17d463d6e5b7e7a0
Author: Vincent Brillault <git at lerya.net>
Date:   Thu Aug 21 18:03:07 2014 +0200

    Turbostat: Emphasize the origin of the code

commit 9a57ab3e7a4d29ac6aec9618ec3a0655052ffac1
Author: Vincent Brillault <git at lerya.net>
Date:   Thu Aug 21 11:23:11 2014 +0200

    Turbostat: Don't include msr-index.h, use standard header

commit 3d4417952a060f82ac990e046d6a1135a25791ea
Author: Vincent Brillault <git at lerya.net>
Date:   Mon Jun 23 20:52:57 2014 +0200

    Turbostat: Rename instance type "pc%02d" to "pkg%02d"

commit 26ae8146236a7717d02dd5dda2caa0e5f9ee8fdd
Author: Nicolas Iooss <nicolas.iooss_git at polytechnique.org>
Date:   Mon Jun 23 18:08:15 2014 +0200

    Turbostat: make DO_OR_GOTO_ERR look like a function
    
    Signed-off-by: Nicolas Iooss <nicolas.iooss_git at polytechnique.org>
    [git at lerya.net: Ported from other git, changed commit name]
    Signed-off-by: Vincent Brillault <git at lerya.net>

commit eb97e2374085c0045dec15db8cb484fa2bbbd9d2
Author: Vincent Brillault <git at lerya.net>
Date:   Fri Jun 20 10:30:09 2014 +0200

    Turbostat plugin: refactor function declarations
    
    - Remove horrible STATIC_MUST_CHECK macro
    - Define __must_check __attribute__((warn_unused_result))
    - Refactor function declaration: type only on first line

commit 4f79fc14cfa00e5b96447802c1926ed4ec942271
Author: Vincent Brillault <git at lerya.net>
Date:   Fri Jun 20 00:06:42 2014 +0200

    Include turbostat plugin during compilation

commit 304b23aceb3f78f29afeb143f4f66462e2d1b956
Author: Vincent Brillault <git at lerya.net>
Date:   Thu Jun 19 23:39:05 2014 +0200

    Add sources for new turbostat plugin

commit 36cb8649ab24bd2386790aee07204bc026bba801
Author: Jan Andres <jandres at gmx.net>
Date:   Sat Jan 31 10:03:13 2015 +0100

    Enable the processes plugin by default on Solaris.
    
    It now builds and works correctly in both 32-bit and 64-bit mode.

commit 6a62aeaa7bb71f5488dc76842d627bc8fd3c2eb4
Author: Jan Andres <jandres at gmx.net>
Date:   Sat Jan 31 10:00:31 2015 +0100

    processes: Solaris: Consistently use long to represent a pid
    
    pid_t may be defined as an int or a long depending on circumstances.
    Use a long everywhere so we don't have to fiddle with typecasts.
    
    This fixes an issue where an incorrect printf format string would
    be used for a pid_t in 32-bit builds.

commit 7f117256e973afd936ee37221a4c588d7b7208ec
Author: Jan Andres <jandres at gmx.net>
Date:   Sat Jan 31 09:43:30 2015 +0100

    processes: Fix build for Solaris 32-bit binary
    
    Work around a #error in <sys/procfs.h> that occurs when building a
    32-bit binary with _FILE_OFFSET_BITS=64. This uses a hack similar
    to the one in swap.c.

commit 1063a898bc1a05a954e7290296365d7ef26eb8a5
Author: Jan Andres <jandres at gmx.net>
Date:   Wed Jan 28 20:00:41 2015 +0100

    processes: Fix ps_get_cmdline() on Solaris.
    
    Return value of read_file_contents() was checked incorrectly.

commit 964b45daa3bc609ee78734bb849143463889148f
Author: Jan Andres <jandres at gmx.net>
Date:   Wed Jan 28 15:06:04 2015 +0100

    zfs_arc: Don't spam the log if we fail to read the "l2_size" kstat value.
    
    The value got lost with some patch to Solaris 10 and has only reappeared
    recently in 11.2. If we ever fail to read this value, stop trying, so we
    don't report an error on every interval.




More information about the collectd-changes mailing list