cpu plugin: Mark the "active" state as available.
authorFlorian Forster <octo@collectd.org>
Tue, 2 Dec 2014 10:22:13 +0000 (11:22 +0100)
committerFlorian Forster <octo@collectd.org>
Tue, 2 Dec 2014 10:22:13 +0000 (11:22 +0100)
commit9f472bd76feaebfe8a50f7ac3e9e05ce87ce3c6b
tree2a5a57c4454be3ac8596f3e03d663d3f78358b02
parentf73bf70fde3b0c9763220b9c9e6875018f64832c
cpu plugin: Mark the "active" state as available.

This fixes the !ByState && ByCpu case, i.e. when the user requests one
metric ("active") per CPU.

Bug: #820
src/cpu.c