From 7f6889538704310783b1d79bec4c12110845bb59 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Thu, 24 Sep 2009 09:39:31 +0200 Subject: [PATCH] netapp plugin: perf_system_data_t: Remove CPU counters. --- src/netapp.c | 4 ---- 1 file changed, 4 deletions(-) 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) { -- 2.30.2