From: Florian Forster Date: Thu, 24 Sep 2009 07:39:31 +0000 (+0200) Subject: netapp plugin: perf_system_data_t: Remove CPU counters. X-Git-Tag: collectd-4.9.0~73^2~50 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=7f6889538704310783b1d79bec4c12110845bb59;p=collectd.git netapp plugin: perf_system_data_t: Remove CPU counters. --- diff --git a/src/netapp.c b/src/netapp.c index ce182e45..71569925 100644 --- a/src/netapp.c +++ b/src/netapp.c @@ -44,8 +44,6 @@ typedef void service_handler_t(host_config_t *host, na_elem_t *result, void *dat typedef struct { uint32_t flags; - uint64_t last_cpu_busy; - uint64_t last_cpu_total; } perf_system_data_t; /*! @@ -1090,8 +1088,6 @@ static void build_perf_sys_config(host_config_t *temp, oconfig_item_t *ci, const service->handler = collect_perf_system_data; perf_system = service->data = malloc(sizeof(*perf_system)); perf_system->flags = PERF_SYSTEM_ALL; - perf_system->last_cpu_busy = 0; - perf_system->last_cpu_total = 0; service->next = temp->services; temp->services = service; for (i = 0; i < ci->children_num; ++i) {