cpu plugin: Various, random fixes and improvements:
authorFlorian Forster <octo@collectd.org>
Tue, 16 Sep 2014 07:52:10 +0000 (09:52 +0200)
committerFlorian Forster <octo@collectd.org>
Tue, 16 Sep 2014 07:52:10 +0000 (09:52 +0200)
commit9faff71de9d74939223192766c93e1d18c2d1186
treeda0aa78ac05e63c550a1dc0bf79eefe4e42b1918
parent8b618e1fb63ca5f8c741e95651bc41cf6e454588
cpu plugin: Various, random fixes and improvements:

* Add Pierre-Yves to the list of copyright holders.
* Make sure the entire file is consistently indented.
* Renamed the "ReportActive" config option to "ReportByState"
  (with negated logic).
* Renamed internal functions to better reflect their use.
* Let cpu_stage() (née submit()) work on individual counters / derives
  rather than an array, removing logic from the cpu_read() function.
* Rename CPU_SUBMIT_* to CPU_STATE_*.
* Move legacy behavior it its own function, cpu_commit_without_aggregation().
src/collectd.conf.in
src/collectd.conf.pod
src/cpu.c