Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP5:GA
ganglia
ganglia-0017-Fix-wrong-steal-values-being-repor...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ganglia-0017-Fix-wrong-steal-values-being-reported-for-multi_cpu.patch of Package ganglia
From: =?UTF-8?q?Anders=20Bj=C3=B6rklund?= <anders@psqr.se> Date: Wed, 15 Feb 2017 16:55:53 +0100 Git-commit: 61a8835ff420b8e3e90cadcdd47afbad030dff7c References: bsc#1087487 Subject: [PATCH] Fix wrong steal values being reported for multi_cpu Due to a copy/paste error in a3833fa42cc8b5bca75d8c1e78baec643cfadf53, the wrong values (user cpu) were being used for steal cpu comparisons. Acked-by: John Jolly <jjolly@suse.de> --- gmond/modules/cpu/mod_multicpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gmond/modules/cpu/mod_multicpu.c b/gmond/modules/cpu/mod_multicpu.c index 253e0969..cdda8d53 100644 --- a/gmond/modules/cpu/mod_multicpu.c +++ b/gmond/modules/cpu/mod_multicpu.c @@ -457,7 +457,7 @@ static cpu_util *init_metric (apr_pool_t *p, apr_array_header_t *ar, int cpu_cou static g_val_t multi_cpu_steal_func (int cpu_index) { char *p; - cpu_util *cpu = &(cpu_user[cpu_index]); + cpu_util *cpu = &(cpu_steal[cpu_index]); p = update_file(&proc_stat); if((proc_stat.last_read.tv_sec != cpu->stamp.tv_sec) && -- 2.13.6
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor